bugGNU Wget - Bugs: bug #60241, netrc: only remove backslash when...

 
 

bug #60241: netrc: only remove backslash when we have quotes

Submitter:  None
Submitted:  Tue 16 Mar 2021 10:41:20 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  None
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  No Work Required:  None
Patch Included:  Yes
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Mar 2021 10:41:20 AM UTC, original submission:  

If the netrc have backslash char "\" it doesn't work with "wget"
but the same netrc file works with "curl -n"
   
- For example if the netrc password have a backslash on it the wget will return:
  Username/Password Authentication Failed.
   
- The same password with the backslash works if the it is typed on the stdin with:
  wget uri --user=username --ask-password
   
commit 2b2fd2924aa9eac8c831380196a13c427f6b4329, introduce quotation mark
support and after that wget will remove the backslash char in every token on the netrc. The backslash can be removed but only when the presence of the quotation mark is detected.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-16 None Attached File- Added 0001-netrc-only-remove-backslash-when-we-have-quotes.patch, #51073

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code