URL:
<http://savannah.gnu.org/bugs/?41002>
Summary: Credentials in URL not supported
Project: GNU Wget
Submitted by: nok
Submitted on: Do 26 Dez 2013 12:29:17 CET
Category: Program Logic
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk
Operating System: GNU/Linux
Reproducibility: None
Fixed Release: None
Planned Release: None
Regression: None
Work Required: None
Patch Included: None
_______________________________________________________
Details:
Hello,
a forwarded bug from the Debian bugtracker: http://bugs.debian.org/709637:
--8<--
Dear Maintainer,
after the upgrade to wheezy wget (basic http) auth doesn't work like
e.g. in version 1.12 anymore.
In former version the username and password could be given in the URL:
$ wget http://<user>:<pass>@<host>...
Doing so with the new version of wget gives an errror.
Using the commandline options '--user' and '--password' works:
$ wget --user=<user> --password=<pass> http://<host>...
...
> Could you send us the output of --debug?
I just found out the problem appears to be dependent on the server:
1.) Boa server & --user/--password => OK (wget__bad_server__ok.log)
$ wget -d -O /dev/null --user=*user* --password=*password* \
... 'http://xxx.xxx.xxx.xxx:80/protected'
2.) Boa server & user:passwd@host => FAIL (wget__bad_server__fail.log)
$ wget -d -O /dev/null \
... 'http://*user*:*password*@xxx.xxx.xxx.xxx:80/protected'
3.) Apache server & user:passwd@host => OK (wget__good_server__ok.log)
$ wget -d -O /dev/null \
... 'https://*user*:*password*@yyy.yyy.yyy.yyy/protected'
In 1 and 2 both the client and the server are the same. In 3 the client
machine is the same again but the server is on another machine and an
other implementation.
Thank you, Hannes
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Do 26 Dez 2013 12:29:17 CET Name: wget__bad_server__fail.log Size: 3kB
By: nok
logfiles
<http://savannah.gnu.org/bugs/download.php?file_id=30095>
-------------------------------------------------------
Date: Do 26 Dez 2013 12:29:17 CET Name: wget__good_server__ok.log Size: 3kB
By: nok
logfiles
<http://savannah.gnu.org/bugs/download.php?file_id=30096>
-------------------------------------------------------
Date: Do 26 Dez 2013 12:29:17 CET Name: wget__bad_server__ok.log Size: 2kB
By: nok
logfiles
<http://savannah.gnu.org/bugs/download.php?file_id=30097>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41002>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]