bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] URL Encoding %..


From: Pavel Bohačík
Subject: [Bug-wget] URL Encoding %..
Date: Mon, 26 Jun 2017 15:22:03 +0200

Dear Sir

 

At first I thank you for your work on wget. It's nice program for
downloading from web.

 

I found out a bug with URL encoded by %..
(http://www.blooberry.com/indexdot/html/topics/urlencoding.htm)

 

If I use wget only for one file with URL encoded by %.., It downloads the
file. But when I use wget -mirror the wget changes the url names and cannot
find the files with URL %.. encoding.

 

When I download only index.html, the file names are encoding in it with %..
pretty nice.

e.g. :

http://ozeas.sdb.cz/panska/2A/kazi/07%20%20Pevn%e9%20l%e1tky.doc. It is the
same name as from web name properties (or Copy Shorcut).

 

but in index.html retrieved (and converted) by wget -mirror the name is:

http://ozeas.sdb.cz/panska/2A/kazi/07%20%20Pevni%20latky.doc

 

and in wget-log the names (together with 404 Not Found) are:

1.
http://ozeas.sdb.cz/panska/2A/kazi/07%20%20Pevn%C3%83%C2%A9%20l%C3%83%C2%A1t
ky.doc
2.
http://ozeas.sdb.cz/panska/2A/kazi/07%20%20Pevn%C3%A9%20l%C3%A1tky.doc
(second attempt)

 

 

For interest: Version 1.15 downloads (--mirror) all files albeit not exactly
with the same names as on the web.

 

Best regards

 

Pavel Bohačík

 

 

 

GNU Wget 1.19.1 built on mingw32.

 

-cares +digest -gpgme +https +ipv6 +iri +large-file +metalink -nls

+ntlm +opie -psl +ssl/openssl

 

Wgetrc:

    /win32dev/misc/wget/out64/etc/wgetrc (system)

Compile:

    x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H

    -DSYSTEM_WGETRC="/win32dev/misc/wget/out64/etc/wgetrc"

    -DLOCALEDIR="/win32dev/misc/wget/out64/share/locale" -I. -I../lib

    -I../lib -I/win32dev/misc/wget/out64/include

    -I/win32dev/misc/wget/out64/include

    -I/win32dev/misc/wget/out64/include -DHAVE_LIBSSL

    -I/win32dev/misc/wget/out2/include -DNDEBUG

Link:

    x86_64-w64-mingw32-gcc -I/win32dev/misc/wget/out64/include

    -I/win32dev/misc/wget/out64/include -DHAVE_LIBSSL

    -I/win32dev/misc/wget/out2/include -DNDEBUG

    -L/win32dev/misc/wget/out64/lib -lidn2

    -L/win32dev/misc/wget/out64/lib -lmetalink -lunistring -liconv

    -L/win32dev/misc/wget/out64/lib -lssl -lcrypto

    -L/win32dev/misc/wget/out2/lib -lz -lws2_32 ftp-opie.o mswindows.o

    openssl.o http-ntlm.o ../lib/libgnu.a -lws2_32 -lws2_32 -lws2_32

    -lws2_32 /win32dev/misc/wget/out64/lib/libiconv.a

    /win32dev/misc/wget/out64/lib/libunistring.a

    /win32dev/misc/wget/out64/lib/libiconv.a -lws2_32

 

Copyright (C) 2015 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later

<http://www.gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

 

Originally written by Hrvoje Niksic <address@hidden>.

Please send bug reports and questions to <address@hidden>.

 

 

 

 

 

 

 

 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]