[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60241] netrc: only remove backslash when we have quotes
From: |
anonymous |
Subject: |
[bug #60241] netrc: only remove backslash when we have quotes |
Date: |
Tue, 16 Mar 2021 06:41:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0 |
URL:
<https://savannah.gnu.org/bugs/?60241>
Summary: netrc: only remove backslash when we have quotes
Project: GNU Wget
Submitted by: None
Submitted on: 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: quaresma.jose@gmail.com
Open/Closed: Open
Release: None
Discussion Lock: Any
Operating System: GNU/Linux
Reproducibility: Every Time
Fixed Release: None
Planned Release: None
Regression: No
Work Required: None
Patch Included: Yes
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 16 Mar 2021 10:41:20 AM UTC Name:
0001-netrc-only-remove-backslash-when-we-have-quotes.patch Size: 1KiB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=51073>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60241>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #60241] netrc: only remove backslash when we have quotes,
anonymous <=