Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503672 - net-misc/wget: patch to ignore cookie path
Summary: net-misc/wget: patch to ignore cookie path
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-06 22:01 UTC by Marcus Schwartz
Modified: 2014-03-09 07:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds the --ignore-cookie-path option to wget (wget-1.14-ignorecookiepath.patch,2.80 KB, patch)
2014-03-06 22:02 UTC, Marcus Schwartz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Schwartz 2014-03-06 22:01:46 UTC
Wget rejects cookies that specify a Path that is not a prefix of the URI that delivered the cookie.  RFC2965 requires this behavior.  But, web browsers don't enforce this requirement.  Some sites rely on web browsers' behavior, and therefore won't work with wget's more RFC-compliant cookie handling.

A patch follows, which introduces a new option called --ignore-cookie-path.  It causes wget to accept such cookies, in violation of RFC2965.

Reproducible: Always
Comment 1 Marcus Schwartz 2014-03-06 22:02:46 UTC
Created attachment 371906 [details, diff]
Adds the --ignore-cookie-path option to wget
Comment 2 SpanKY gentoo-dev 2014-03-09 07:19:26 UTC
yes, that patch should be sent to upstream dev list please

https://lists.gnu.org/archive/html/bug-wget/