RE: bug with password containing @

2005-05-26 Thread Andrew Gargan




Hi 

wget ftp://someuser:[EMAIL PROTECTED]@www.somedomain.com/some_file.tgz

is splitting using on the first @ not the second.

Is this a problem with the URL standard or a wget issue?

Regards

Andrew Gargan




Re: bug with password containing @

2005-05-26 Thread Hrvoje Niksic
Andrew Gargan [EMAIL PROTECTED] writes:

 wget ftp://someuser:[EMAIL PROTECTED]@www.somedomain.com/some_file.tgz

 is splitting using on the first @ not the second.

Encode the '@' as %40 and this will work.  For example:

wget ftp://someuser:[EMAIL PROTECTED]/some_file.tgz

 Is this a problem with the URL standard or a wget issue?

Neither, but maybe URL could be smarter about handling the above case.