busybox/networking
Denys Vlasenko f1fab09242 wget: fix redirection from HTTP to FTP server
while at it, sanitize redirection in general; add printout
of every redirection hop; make sure we won't print any non-ASCII
garbage from remote server in error meesages.

function                                             old     new   delta
sanitize_string                                        -      14     +14
parse_url                                            294     301      +7
gethdr                                               190     197      +7
wget_main                                           2326    2331      +5
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/0 up/down: 33/0)               Total: 33 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-28 03:33:57 +02:00
..
libiproute *: add FAST_FUNC to function ptrs where it makes sense 2009-06-05 12:06:05 +02:00
udhcp udhcpc: fix a read error loop (e.g.: device is down) blocking TERM 2009-06-26 23:23:16 +02:00
arp.c arp: stop using globals 2008-11-13 00:05:17 +00:00
arping.c *: remove check for errors on getsockaddr in cases we know they can't happen 2009-04-21 23:48:38 +00:00
brctl.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
Config.in getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS 2009-06-19 12:10:38 +02:00
dnsd.c dnsd: stop using oversized buffer. trim comment. 2009-04-12 19:03:01 +00:00
ether-wake.c libbb: add strncpy_IFNAMSIZ 2008-12-02 18:18:50 +00:00
ftpd.c ftpd: allow multiple -S options to increase verbosity too, like -v 2009-06-05 20:42:40 +02:00
ftpgetput.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
hostname.c updates for supporting Linux kernel build and initrd utilities 2009-06-26 01:55:45 +02:00
httpd_indexcgi.c - use STD*_FILENO some more. No object-code changes 2008-05-19 09:48:17 +00:00
httpd_post_upload.txt httpd: add an example of POST upload CGI 2008-04-17 12:35:09 +00:00
httpd.c telnetd: properly close fds in child 2009-06-09 23:01:24 +02:00
ifconfig.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
ifenslave.c getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS 2009-06-19 12:10:38 +02:00
ifplugd.c ifplugd: fix warnings 2009-05-01 09:04:25 +02:00
ifupdown.c ifupdown: if $PATH is not set, do not set it to "" in children 2009-06-05 21:53:11 +02:00
inetd.c inetd: comment why we redirect stderr to network 2009-06-05 15:35:36 +02:00
interface.c libbb: add strncpy_IFNAMSIZ 2008-12-02 18:18:50 +00:00
ip.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
ipcalc.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
isrv_identd.c ftpd: code chrink, fixed some minor bugs 2009-03-08 23:46:48 +00:00
isrv.c actually add bb_qsort.c 2008-03-02 12:53:15 +00:00
isrv.h *: make "pragma GCC visibility push(hidden)" less ugly 2009-04-09 12:35:13 +00:00
Kbuild ifplugd: new applet by Maksym Kryzhanovskyy (xmaks AT email.cz) 2009-04-26 01:08:51 +00:00
nameif.c docs/logging_and_backgrounding.txt: new mini-doc 2009-03-11 14:40:00 +00:00
nc_bloaty.c add FEATURE_UNIX_LOCAL. By Ingo van Lil (inguin AT gmx.de) 2009-04-25 13:16:53 +00:00
nc.c nc, hush: cosmetic cleanups, no code changes 2009-06-01 11:26:30 +02:00
netstat.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
nslookup.c nslookup: glibc + IPv6 address of DNS server don't mix (yet) 2008-11-17 15:36:36 +00:00
ping.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
pscan.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
route.c libbb: add strncpy_IFNAMSIZ 2008-12-02 18:18:50 +00:00
slattach.c slattach: preserve speed in non-raw mode. +39 bytes. 2008-09-16 21:27:59 +00:00
tc.c flash_lock, flash_unlock: new applets 2009-05-25 04:15:37 +02:00
tcpudp_perhost.c svn add/svn rm to actually move tcp/udpsvd... 2008-03-17 09:17:27 +00:00
tcpudp_perhost.h *: make "pragma GCC visibility push(hidden)" less ugly 2009-04-09 12:35:13 +00:00
tcpudp.c test, tcpsvd, tcpsvd: shrink 2009-06-13 22:49:08 +02:00
telnet.c ash,hush: add TODO for rare build failure 2008-11-25 01:36:03 +00:00
telnetd.c telnetd: more compact version of the fix for stray open fds 2009-06-10 13:38:08 +02:00
telnetd.ctrlSQ.patch *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
tftp.c tftp: do not risk invoking Sorcerer's Apprentice syndrome 2009-05-10 23:27:43 +02:00
traceroute.c traceroute: allow -w NUM as small as 1 2009-01-24 21:23:41 +00:00
tunctl.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
vconfig.c vconfig: style fix, no code changes 2008-12-02 20:38:36 +00:00
wget.c wget: fix redirection from HTTP to FTP server 2009-06-28 03:33:57 +02:00
zcip.c optimize 16- and 32-bit moves 2008-12-08 22:56:18 +00:00