HTTP::Cookies extraction drops Expires and SameSite attributes
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 領域
- backend, testing-qa
調査の方向性
Start in the bundled HTTP::Cookies source at extract_cookies() and trace how set_cookie() stores parsed attributes; compare the behavior with HTTP::Cookies 6.12. Run t/session_config.t under the JVM backend, then verify that scan() preserves a future Expires value and SameSite=Strict along with the existing domain and path behavior. Linked pull request #1748 is already open, so check its scope before taking this on.
索引モデルが issue の本文から書いたものです。
説明
Summary
The bundled HTTP::Cookies::extract_cookies() drops cookie attributes needed by Dancer2 sessions. It does not retain the Expires attribute or extension attributes such as SameSite, so scan() returns no expiration and an empty attributes hash.
Evidence
- Distribution: Dancer2 2.2.2; local CPAN run
Dancer2-2.2.2 / 2026-10-10 / PerlOnJava 37189a6b. - JVM
t/session_config.tfails the checks that cookie expiration is in the future andSameSiteisStrict; cookie domain and path checks pass. - System Perl 5.42.2 with HTTP::Cookies 6.12 passes the focused test.
- In the bundled HTTP::Cookies 6.11 source,
extract_cookies()passesmax-agetoset_cookie()but ignoresexpiresand does not preserve the parsed attributes in the cookie'sresthash. - PerlOnJava v5.44.1, commit
37189a6bde2064ba9bad4fefa78c22ee3bbf50ed; Java 24.0.2; macOS 26.6.2.
Acceptance criteria
- Extracted cookies retain
Expiresas a future expiry and preserve extension attributes such asSameSitethroughscan(). - The Dancer2 session configuration test passes under the JVM backend.
- 主要言語
- Perl
- スター
- 64
- フォーク
- 7
- 平均マージ
- 5時間 8分
- マージ済み PR(30日)
- 193
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fglock/PerlOnJava のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fglock/PerlOnJava#1651 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#1579 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:unicode bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
fglock/PerlOnJava#1341 ·
メンテナーはふだん 1 日以内に返信
-
area:runtime bug
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
fglock/PerlOnJava#1744 ·
メンテナーはふだん 1 日以内に返信
-
Bundled HTTP::Cookies is missing clear()対応中かも @fglock が今日担当しました。 オープンarea:cpan-port bug
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
fglock/PerlOnJava#1742 ·
メンテナーはふだん 1 日以内に返信
fglock/PerlOnJava の issue をすべて見る
似ている issue
-
chore: remove unused .gemini configuration directory対応中かも @JayadityaGit が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
openfoodfacts/openfoodfacts-server#14878 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
radiator-software/p5-net-ssleay#577 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
beyondgrep/website#143 ·
-
CPAN install failingオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
sous-chefs/perl#110 · コメント 1 件 ·
-
bug help wanted
難易度 2/5 1時間未満 初心者へのやさしさ 70/100
bioepic-data/bervo#145 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信