libwww-perl / libwww-perl/HTTP-Cookies

HTTP::Cookies::Netscape bug in cookie file magic [rt.cpan.org #55634]

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
4
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Migrated from rt.cpan.org#55634 (status was 'open')

Requestors:

  • lexszero@gmail.com

From lexszero@gmail.com on 2010-03-16 17:41:22:

Using Perl-5.10.1, libwww-perl-5.834

HTTP::Cookies::Netscape don't read cookies from cookies file with the following header:
# HTTP cookie file.
# Generated by Wget on 2010-03-16 20:01:49.
# Edit at your own risk.

Fixed with changing first line to "# HTTP Cookie File."

Official Netscape cookie file spec page http://www.netscape.com/newsref/std/cookie_spec.html seems  dead, so I don't know if this magic line ever must present.
Maybe just remove magic line checking?

From ether@cpan.org on 2017-01-25 21:39:24:

migrated queues: libwww-perl -> HTTP-Cookies

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the HTTP::Cookies::Netscape code that checks the cookie-file magic header. Reproduce the issue with the Wget header shown in the report and compare it with the accepted capitalization. Done means the reported Netscape-format cookie file is read correctly, with coverage for the header behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.