actix / actix/actix-web

awc: "URL parse error: invalid uri character" error on some wbesites

オープン
#2,104 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
A-awc C-bug-upstream
主要言語
Rust
スター
24.8k
フォーク
1.9k
平均マージ
23時間 10分
マージ済み PR(30日)
26

説明

## Expected Behavior
awc being able to successfully download the websites that work with curl and Firefox.

## Current Behavior
On some websites, e.g. http://stadt40.de, awc fails with the following error:

> Invalid URL: URL parse error: invalid uri character

74 out of the top million websites are affected. List of all affected websites: [awc-invalid-uri-character.txt.gz](https://github.com/actix/actix-web/files/6179229/awc-invalid-uri-character.txt.gz)

## Steps to Reproduce (for bugs)
1. `git clone https://github.com/Shnatsel/rust-http-clients-smoke-test`
2. `cd rust-http-clients-smoke-test/awc`
3. `cargo build --release`
4. `target/release/awc-smoke-test stadt40.de`

## Context
I am testing a bunch of HTTP clients on the top million websites according to the [Feb 3 Tranco list](https://tranco-list.eu/list/3G6L).

## Your Environment
Linux, Ubuntu 20.04 LTS

* Rust Version (I.e, output of `rustc -V`): rustc 1.47.0 (18bf6b4f0 2020-10-07)
* Actix Web Version: awc 3.0.0-beta.3

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。