package/busybox: wget: URL-decode user:password before base64-encoding it into auth...
[openwrt.git] / package / busybox / patches / 110-wget_getopt_fix.patch
index 9b59c61..52b9d94 100644 (file)
@@ -1,11 +1,11 @@
 --- a/networking/wget.c
 +++ b/networking/wget.c
-@@ -437,7 +437,7 @@ int wget_main(int argc ATTRIBUTE_UNUSED,
-               "directory-prefix\0" Required_argument "P"
-               "proxy\0"            Required_argument "Y"
-               "user-agent\0"       Required_argument "U"
+@@ -871,7 +871,7 @@ int wget_main(int argc UNUSED_PARAM, cha
+               /* Ignored: */
+               // "tries\0"            Required_argument "t"
+               /* Ignored (we always use PASV): */
 -              "passive-ftp\0"      No_argument       "\xff"
 +              "passive-ftp\0"      No_argument       "\xfd"
                "header\0"           Required_argument "\xfe"
-               ;
- #endif
+               "post-data\0"        Required_argument "\xfd"
+               /* Ignored (we don't do ssl) */