Send the desktop client's launch file with a Last-Modified date of any server locale
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Bắt đầu từ handler /exec?action=Security.generateJnlp và tìm nơi header Last-Modified của response được đặt; grep tìm generateJnlp và Last-Modified. Định dạng ngày thành ngày HTTP RFC 1123 bằng tiếng Anh và GMT thay vì dùng locale mặc định của server. Hoàn thành nghĩa là các liên kết khởi chạy trả về một ngày GMT tiếng Anh hợp lệ dưới các locale tiếng Nga/tiếng Belarus và không có cảnh báo header hay 500 xảy ra trên Tomcat hoặc cổng 7651.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The desktop client's launch file, /exec?action=Security.generateJnlp (with or without the p= heap size and VM arguments of a memory limit), carries a Last-Modified header with a date written in the language of the server, not as HTTP requires. On a server whose locale is Russian or Belarusian the header has Cyrillic in it:
Last-Modified: пн, 12 нояб. 1956 10:00:00 GMT
- Through the web client in Tomcat the file comes with status 200, but Tomcat drops the header and writes a warning with an exception to its log on every download:
The HTTP response header [Last-Modified] with value [...] has been removed from the response because it is invalid. - From the application server's own HTTP server (port 7651) the request fails with status 500:
java.lang.IllegalArgumentException Illegal character found in header.
On other locales the date can have non-ASCII letters too, so whether a launch link fails can depend on the link and the locale.
Reason
A server set up for Russian or Belarusian users gets an error in the log for every desktop client launch, and the 500 on the application server's HTTP server makes the launch link look broken. Java Web Start also loses the date it needs to tell whether the launch file has changed.
Fix
The launch file's Last-Modified header is an HTTP date in English, in GMT, whatever the server's locale is, and every launch link is answered without an error.
- Ngôn ngữ chính
- Java
- Star
- 214
- Fork
- 46
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của lsfusion/platform
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
-
bug
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 58/100
Tất cả issue của lsfusion/platform
Issue tương tự
-
account assessment course feature lecture
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
app:learninggoalhub enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
PropertyResolver fails on JDK classes with a non-public field named like the propertyCó thể đã có người làm @vaibhavgupta443 đã nhận hôm nay. Đang mởgood first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
apache/wicket#1991 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100