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

 
 

bug #41002: Credentials in URL not supported

Submitter:  Noël Köthe <nok>
Submitted:  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
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 26 Dec 2013 11:29:17 AM UTC, original submission:  

Hello,

a forwarded bug from the Debian bugtracker: http://bugs.d ... an.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.xx ... .xxx:80/protected'


2.) Boa server & user:passwd@host => FAIL (wget__bad_server__fail.log)

$ wget -d -O /dev/null \
... 'http://*user*:*pa ... .xxx:80/protected'


3.) Apache server & user:passwd@host => OK (wget__good_server__ok.log)

$ wget -d -O /dev/null \
... 'https://*user*:*p ... 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>

 

Attached Files

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

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    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.16-598c.
    Corresponding source code