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

 
 

bug #21357: Strip spaces within links

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Wed 17 Oct 2007 05:48:58 PM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: In Progress
Privacy: PublicAssigned to: vinoth kumar <vinocit>
Originator Name: Open/Closed: Open
Release: NoneOperating System: None
Reproducibility: NoneFixed Release: None
Planned Release: 1.15Regression: None
Work Required: 0 - HoursPatch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>

 

(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 vinocit (Updated the item)
  • -unavailable- added by micahcowan (Submitted the item)
  •  

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

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 26 Aug 2008 09:18:16 AM UTCvinocitStatusConfirmed=>In Progress
      Assigned toNone=>vinocit
    Sun 27 Jan 2008 04:16:01 AM UTCmicahcowanPlanned Release1.12=>1.15

    Back to the top


    Powered by Savane 3.1-cleanup1