actix-web icon indicating copy to clipboard operation
actix-web copied to clipboard

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

Open telezhnaya opened this issue 3 years ago • 1 comments

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.

telezhnaya avatar Aug 19 '22 09:08 telezhnaya

the generated URL

Generated by what?

Can you provide more details?

robjtede avatar Sep 11 '22 12:09 robjtede