Vladi Belperchinov-Shabanski <[EMAIL PROTECTED]> writes:

> "T. Bharath" wrote:
>> 
>> replace the first  @ with %40 and check
>
> doesn't work, cannot login...

%40 not working is a bug.  This patch should fix it:

2002-01-14  Hrvoje Niksic  <[EMAIL PROTECTED]>

        * url.c (parse_uname): URL-decode *USER and *PASSWD.

Index: src/url.c
===================================================================
RCS file: /pack/anoncvs/wget/src/url.c,v
retrieving revision 1.68
diff -u -r1.68 url.c
--- src/url.c   2002/01/14 01:56:40     1.68
+++ src/url.c   2002/01/14 13:22:05
@@ -528,6 +528,11 @@
   memcpy (*user, str, len);
   (*user)[len] = '\0';
 
+  if (*user)
+    decode_string (*user);
+  if (*passwd)
+    decode_string (*passwd);
+
   return 1;
 }
 

Reply via email to