bugGNU Wget - Bugs: bug #21357, Strip spaces within links

 
 

bug #21357: Strip spaces within links

Submitter:  Micah Cowan <micahcowan>
Submitted:  Wed 17 Oct 2007 05:48:58 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  In Progress
Privacy:  Public Assigned to:  vinocit
Originator Name:  Open/Closed:  Open
Release:  None Operating System:  None
Reproducibility:  None Fixed Release:  None
Planned Release:  1.15 Regression:  None
Work Required:  0 - Hours Patch Included:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 17 Oct 2007 05:48:58 PM UTC, original submission:  

A user has pointed out that while Wget regards spaces within href attributes (and the like) as user error, browsers such as Firefox simply strip them out.

Strict HTML syntax would interpret any whitespace within the attribute as part of the attribute's value. Whitespace is not legal as part of a URI (but then, neither are non-ASCII byte values, which have been accepted for some time); apparently a common way to deal with this is to simply strip it all out.

We should "do what other browsers do" by default, and provide an option to make Wget stricter (similar to how we currently do SGML comments).

Micah Cowan <micahcowan>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    History

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-08-26 vinocit StatusConfirmed In Progress
        Assigned toNone vinocit
    2008-01-27 micahcowan Planned Release1.12 1.15

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code