Gerrit P. Haase wrote:
Got this failure when trying to download from my local webserver (lighthttpd):
2004/11/21 14:59:57 Starting cygwin install, version 2.427
[...]
get_url_to_file
http://192.168.1.1/cygwin/release/gcc/gcc-g++/gcc-g++-3.4.2-1.tar.bz2
C:\cygwin\instsoft\NEW/http%3a%2f%2f192.168.1.1%2fcygwin/release/gcc/gcc-g++/gcc-g++-3.4.2-1.tar.bz2.tmp
get_url_to_file failed!
get_url_to_file
http://192.168.1.1/cygwin/release/gcc-mingw/gcc-mingw-g++/gcc-mingw-g++-20041121-1.tar.bz2
C:\cygwin\instsoft\NEW/http%3a%2f%2f192.168.1.1%2fcygwin/release/gcc-mingw/gcc-mingw-g++/gcc-mingw-g++-20041121-1.tar.bz2.tmp
get_url_to_file failed! 2004/11/21 15:00:33 mbox yesno: Download Incomplete. Try again? 2004/11/21 15:01:04 mbox note: Download Incomplete. Try again? 2004/11/21 15:01:05 Ending cygwin install
It works well when the '++' characters are translated to '%2b%2b'.
Both RFC1738 and it's successor RFC2396 state that '+' is a legal character unencoded in the path portion of an URL.
Sure, but then in a url a + is translated to a space, not to '+'.
If you want plus, you'd need to urlencode it to %2b, otherwise it's interpreted as %20.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
