Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bundled HTTP::Cookies is missing clear()

クローズ
#1,742 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #1748 @fglock による — マージ済み

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java, perl
領域
backend

調査の方向性

Start with the bundled HTTP::Cookies 6.11 source and compare its cookie-jar API with the compatible clear() behavior identified in the issue. Run t/session_hooks.t and t/session_hooks_no_change_id.t under the JVM backend; done means the final HTTP::Cookies->clear() calls succeed and both tests complete. Note that open PR #1748 already targets this issue.

索引モデルが issue の本文から書いたものです。

説明

area:cpan-port bug

Summary

PerlOnJava's bundled HTTP::Cookies 6.11 implementation does not provide clear(). Dancer2 session tests call this method to reset the cookie jar, so their change_session_id subtests abort even though preceding assertions pass.

Evidence

  • Dancer2 2.2.2, local CPAN run Dancer2-2.2.2 / 2026-10-10 / PerlOnJava 37189a6b.
  • JVM t/session_hooks.t and t/session_hooks_no_change_id.t both fail at their final HTTP::Cookies->clear() call with Can't locate object method "clear" via package "HTTP::Cookies".
  • Both tests pass under system Perl 5.42.2, which loads HTTP::Cookies 6.12.
  • The bundled source HTTP::Cookies 6.11 has no clear method.
  • PerlOnJava v5.44.1, commit 37189a6bde2064ba9bad4fefa78c22ee3bbf50ed; Java 24.0.2; macOS 26.6.2.

Acceptance criteria

  • Implement the compatible HTTP::Cookies->clear() behavior in the bundled module.
  • Both Dancer2 session hook tests complete successfully under the JVM backend.
主要言語
Perl
スター
64
フォーク
7
平均マージ
5時間 6分
マージ済み PR(30日)
200

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fglock/PerlOnJava のほかの issue

fglock/PerlOnJava の issue をすべて見る

似ている issue

Perl の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。