actix / actix/actix-web

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

Abierto
#2,844 1 comentario 0 reacciones 0 asignados Ver en GitHub
A-router needs-investigation
Lenguaje dominante
Rust
Estrellas
24.8k
Forks
1.9k
Merge medio
23 h 10 min
PR fusionados (30 d)
26

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.