Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 503672

Summary: net-misc/wget: patch to ignore cookie path
Product: Gentoo Linux Reporter: Marcus Schwartz <marschw>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED UPSTREAM    
Severity: enhancement Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Adds the --ignore-cookie-path option to wget

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/