40ants / 40ants/reblocks

Can't route url which contains some char likes #\space

Aperta
#2 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Common Lisp
Stelle
101
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When visit something like `127.0.0.1/a%20a` it will give error like this:
`There was an error processing your request: Parse error:URI "/a a" contains illegal character #\ at position 2.%`
It turns out to because [this](https://github.com/40ants/weblocks/blob/efdbe7adb2e171090813350b6d63717b800f62c6/src/routes.lisp#L37).
Clack will return decoded url, which may contains something like #\space and it looks like puri`(puri:parse-uri)` can't handle it.

It may have more to do with cl-routes, but it looks like there are no new progress since 2017.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.