bugGNU Wget - Bugs: bug #27449, Wget: cookies don't handle...

 
 

bug #27449: Wget: cookies don't handle backslash

Submitter:  Micah Cowan <micahcowan>
Submitted:  Mon 14 Sep 2009 09:53:26 PM UTC
   
 
Category:  Protocol Issue Severity:  3 - Normal
Priority:  5 - Normal Status:  Confirmed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Operating System:  None
Reproducibility:  None Fixed Release:  None
Planned Release:  1.12.x Regression:  No
Work Required:  0 - Hours Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 14 Sep 2009 09:53:26 PM UTC, original submission:  

Wget mishandles backslashes in cookies?

If Wget receives a cookie with a value of (quoted) "foo\\bar", it will send it back as (unquoted foo\\bar). That is both an illegal token (tokens aren't allowed to contain backslash), and the wrong value (if they were, it would be foo\bar).

For testing, a simple adjustment of tests/Test-cookies.pm will illuminate the issue.

(It's hard for me to believe this has gone uncaught all this time? But this behavior is also present in Wget 1.11.4 and 1.10.2.)

Micah Cowan <micahcowan>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by micahcowan (Submitted the item)
  • -email is unavailable- added by micahcowan (Reporter)
  •  

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-14 micahcowan Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-8ccc.
    Corresponding source code