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

 
 

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

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Mon 14 Sep 2009 09:53:26 PM UTC  
 
Category: Protocol IssueSeverity: 3 - Normal
Priority: 5 - NormalStatus: Confirmed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: NoneOperating System: None
Reproducibility: NoneFixed Release: None
Planned Release: 1.12.xRegression: No
Work Required: 0 - HoursPatch Included: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 14 Sep 2009 09:53:26 PM UTCmicahcowanCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup