actix / actix/actix-web

Wrong parsing of short path arguments with symbols that should be escaped

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

説明

I have endpoints look like `http://127.0.0.1:3050/smth1/{arg1}/smth2/{arg2})`
If you want to have `arg1=.` and pass it through web form, the generated URL looks like
`curl --request GET --url http://127.0.0.1:3050/smth1/smth2/{arg2}`, so it just cuts this argument.
The same behaviour if I put `%2E` (escaped dot) as the parameter.
So, I can't pass the dot as the argument through the web page at all.

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

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

評価

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

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

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