bugGNU Wget - Bugs: bug #21531, Content-Disposition: poor handling...

 
 

bug #21531: Content-Disposition: poor handling of file names

Submitter:  Micah Cowan <micahcowan>
Submitted:  Wed 07 Nov 2007 06:14:11 AM UTC
   
 
Category:  Program Logic Severity:  4 - Important
Priority:  9 - Immediate Status:  Fixed
Privacy:  Public Assigned to:  micahcowan
Originator Name:  Open/Closed:  Closed
Release:  None Operating System:  None
Reproducibility:  None Fixed Release:  None
Planned Release:  1.12.x Regression:  None
Work Required:  0 - Hours Patch Included:  Yes
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Oct 2010 04:25:48 PM UTC, comment #4: 

patch included with commit #2427

Giuseppe Scrivano <gscrivano>
Group administrator
Wed 23 Sep 2009 04:57:58 PM UTC, comment #3: 

Patch looks great; waiting on papers.

Micah Cowan <micahcowan>
Wed 09 Sep 2009 06:56:36 PM UTC, comment #2: 

Additionally, since url_file_name is not used, characters are not subjected to the rules from --restrict-file-names, nor unencoded/re-encoded. parse_content_disposition needs some general reworking.

Micah Cowan <micahcowan>
Tue 14 Jul 2009 01:51:24 AM UTC, comment #1: 
Micah Cowan <micahcowan>
Wed 07 Nov 2007 06:14:11 AM UTC, original submission:  

(snippet from my response to a message on the list:)

I also discovered (what I consider to be) a bug, in that


wget -e content_disposition=on --accept=pdf -r
http://www.xjtek.com/anylogic/license_agreement/


downloads the file to ./License_AnyLogic_6.x.x.pdf, rather than to
www.xjtek.com/file/114/License_AnyLogic_6.x.x.pdf (the dirname for which
matches its URL after redirection).

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 gscrivano (Posted a comment)
  • -email is unavailable- added by micahcowan (Submitted the item)
  •  

    Follow 15 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-07 gscrivano StatusInspected Fixed
        Open/ClosedOpen Closed
    2009-09-23 micahcowan StatusAwaiting Approval Inspected
        Planned Release1.14 1.12.x
    2009-09-09 micahcowan SummaryContent-Disposition: files aren\'t placed in proper subdir Content-Disposition: poor handling of file names
    2009-07-14 micahcowan Priority7 - High 9 - Immediate
        StatusIn Progress Awaiting Approval
        Assigned tokparnell micahcowan
        Patch IncludedNone Yes
    2008-08-21 micahcowan Planned Release1.12 1.14
    2008-05-07 micahcowan StatusNeeds Discussion In Progress
        Assigned toNone kparnell
    2008-04-24 micahcowan StatusConfirmed Needs Discussion
    2007-12-06 micahcowan Planned Release1.11 1.12
    2007-11-07 micahcowan Priority5 - Normal 7 - High

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code