"Christian Busch" <[EMAIL PROTECTED]> writes:

> i have a question. On a ftp-site that we need to mirror, our login is
> wget -cm
> ftp://christian.busch%40brainjunction.de:**xxxxxx**@esd.intraware.com/
>  
> as you see I tried to encode the @ as %40 as described in the
> manual.

That is a bug in Wget 1.8.1, fixed in CVS.  The pertinent fix is in
this patch:

Index: url.c
===================================================================
RCS file: /pack/anoncvs/wget/src/url.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- url.c       2002/01/14 01:56:40     1.68
+++ url.c       2002/01/14 13:26:16     1.69
@@ -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