bugGNU Wget - Bugs: bug #41002, Credentials in URL not supported

 
 

bug #41002: Credentials in URL not supported

Submitted by:  Noël Köthe <nok>
Submitted on:  Thu 26 Dec 2013 11:29:17 AM UTC  
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  trunk Operating System:  GNU/Linux
Reproducibility:  None Fixed Release:  None
Planned Release:  None Regression:  None
Work Required:  None Patch Included:  None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Noël Köthe <nok>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30095:  wget__bad_server__fail.log added by nok (3KiB - text/x-log - logfiles)
file #30096:  wget__good_server__ok.log added by nok (3KiB - text/x-log - logfiles)
file #30097:  wget__bad_server__ok.log added by nok (2KiB - text/x-log - logfiles)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-12-26 nok Attached File- => Added wget__bad_server__fail.log, #30095
        Attached File- => Added wget__good_server__ok.log, #30096
        Attached File- => Added wget__bad_server__ok.log, #30097
        Carbon-Copy- => Added -email is unavailable-

    Back to the top


    Powered by Savane 3.3