wget-dev
[Top][All Lists]
Advanced

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

wget2 | 3XX-response's Location-header-URL is not followed if "--retry-o


From: Sergei Litvin
Subject: wget2 | 3XX-response's Location-header-URL is not followed if "--retry-on-http-error" option is switched on (Patch attached) (#545)
Date: Fri, 11 Dec 2020 11:37:00 +0000


Sergei Litvin created an issue: https://gitlab.com/gnuwget/wget2/-/issues/545



Hello, command line to reproduce:

```
-m --max-threads=10 --content-disposition --regex-type=pcre 
--accept-regex="www\.3gpp\.org/DynaReport/24.*?\.htm|portal\.3gpp\.org/desktopmodules/Specifications/SpecificationDetails\.aspx\?specificationId=|portal\.etsi\.org/webapp/workprogram/Report_WorkItem\.asp\?WKI_ID=|www\.etsi\.org/deliver/etsi_ts/.*?\.pdf"
 --domains="portal.etsi.org" --span-hosts --filter-urls --tries=10 
--retry-on-http-error=403 https://www.3gpp.org/ftp/Specs/html-info/24-series.htm
```
Following URL's in Location headers of 3XX-response's is expected.

Patch with proposed fix is attached:
[0001-Fix-3XX-response-s-Location-header-URL-is-not-follow.patch](/uploads/6ea7357e7960e5babf5bae2e41957002/0001-Fix-3XX-response-s-Location-header-URL-is-not-follow.patch)

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/545
You're receiving this email because of your account on gitlab.com.




reply via email to

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