Send the desktop client's launch file with a Last-Modified date of any server locale
まだ誰も着手していません。
評価
調査の方向性
/exec?action=Security.generateJnlp ハンドラーから始めて、レスポンスの Last-Modified ヘッダーが設定される場所を見つけてください。generateJnlp と Last-Modified を grep してください。日付は、サーバーのデフォルトロケールを使うのではなく、英語および GMT の RFC 1123 HTTP 日付としてフォーマットしてください。完了とは、ロシア語/ベラルーシ語ロケールで起動リンクが有効な英語の GMT 日付を返し、Tomcat でもポート 7651 でもヘッダー警告や 500 が発生しないことを意味します。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Java
- スター
- 214
- フォーク
- 46
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lsfusion/platform のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
-
bug
難易度 4/5 1〜2日 初心者へのやさしさ 58/100
lsfusion/platform の issue をすべて見る
似ている issue
-
account assessment course feature lecture
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
app:learninggoalhub enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
PropertyResolver fails on JDK classes with a non-public field named like the property対応中かも @vaibhavgupta443 が今日担当しました。 オープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
apache/wicket#1991 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100