Closed malefient closed 2 years ago
Thanks for the report (and sorry for the quite long delay). You are right and this is on top of my wget2 todo list now.
Fixed via commits 72f48aaa1feefe514d7a760d06034cad6b7fa291 and be4e2deaf92960f7a12f8d36e0a97b4745e8f8e9.
Linux Mint, GNU Wget2 1.99.2 +digest +https +ssl/gnutls +ipv6 +iri +large-file +nls -ntlm -opie +psl -hsts +iconv +idn2 +zlib +lzma +brotlidec +zstd +bzip2 +lzip +http2 -gpgme
There is a web page https://stroyday.ru/remont-kvartiry/steny-i-potolok/kak-sdelat-stenu-iz-gipsokartona.html which contains a link to an image file https://secure.gravatar.com/avatar/?s=40&d=https%3A%2F%2Fstroyday.ru%2Fwp-content%2Fthemes%2FnewSD%2Fres%2Fimg%2Fdef-avatar.png&r=g The latter link is expected to be converted to a local link and image to be downloaded as I specified --page-requisites and --convert-links in the following command. The link is converted to /home/.../secure.gravatar.com/avatar/index.html?s=40&d=https%3A%2F%2Fstroyday.ru%2Fwp-content%2Fthemes%2FnewSD%2Fres%2Fimg%2Fdef-avatar.png&r=g and the file is downloaded.
Having opened the web page in Mozilla Firefox the browser is unable to render the image from local link because it needs it to be
/home/.../index.html%3Fs=40&d=https%253A%252F%252Fstroyday.ru%252Fwp-content%252Fthemes%252FnewSD%252Fres%252Fimg%252Fdef-avatar.png&r=g
but not
/home/.../index.html?s=40&d=https%3A%2F%2Fstroyday.ru%2Fwp-content%2Fthemes%2FnewSD%2Fres%2Fimg%2Fdef-avatar.png&r=g