Thu 26 Dec 2013 11:29:17 AM UTC, original submission:
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
|