This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: setup problem when downloading gcc-g++ from webserver
Reini Urban wrote:
Max Bowsher schrieb:
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!
[...]
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.
I never saw problems when using the apache webserver or ftp, even
trying to wget the file fails because there was no translation made
by wget itself.
Gerrit
--
=^..^=