You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is caused by redirect service does not proper fall through when Location header value does not contain full length uri. (with sheme and authority)
I did not test all the 1700 websites provided by issue but from testing a couple of hundreds of it there is no Invalid URL: URL parse error: invalid format error appears anymore.
Expected Behavior
awc being able to successfully download the websites that work with curl and Firefox.
Current Behavior
On some websites, e.g. http://viralnugget.com, awc fails with the following error:
1620 out of the top million websites are affected. List of all affected websites: invalid-format-domain-list.txt.gz
Steps to Reproduce (for bugs)
git clone https://github.com/Shnatsel/rust-http-clients-smoke-test
cd rust-http-clients-smoke-test/awc
cargo build --release
target/release/awc-smoke-test viralnugget.com
Context
I am testing a bunch of HTTP clients on the top million websites according to the Feb 3 Tranco list.
There is a very similar issue in another HTTP client: adamreichold/zeptohttpc#6
Your Environment
Linux, Ubuntu 20.04 LTS
rustc -V
): rustc 1.47.0 (18bf6b4f0 2020-10-07)The text was updated successfully, but these errors were encountered: