This has been fixed in Ubuntu Raring

wget 1.14-1ubuntu1

I think this is also related to http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=609836

I'd like to see an SRU for this for Ubuntu Precise and Ubuntu Quantal:
https://wiki.ubuntu.com/StableReleaseUpdates

Testcase (ubuntu precise / quantal)
------------

1.- Download a minimalist http server: http://paste.ubuntu.com/5619854/
2.- Execute it:
$ python ./simple.server -p 8080 --username=test --password=test  ./ 
3.- Verify it works with firefox, open "localhost:8080"  and then type "test" 
as user and "test" in the password field
4.- Try with wget
$ wget --user=test --password=test  http://localhost:8080
--2013-04-30 12:51:16--  http://localhost:9090/sh_scripts/pass_key.txt
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed

In a update Ubuntu Raring system:

$ wget --user=test --password=test  http://localhost:8080
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: 417 [text/plain]
Saving to: 'index.html'


The patch needed seems to be this one:

http://www.mail-archive.com/[email protected]/msg02703.html

** Bug watch added: Debian Bug tracker #609836
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609836

** Changed in: wget (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530036

Title:
  Incomplete realization of http digest auth

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/530036/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to