-
-
Notifications
You must be signed in to change notification settings - Fork 432
Decode req.params
#417
Comments
Sapper should probably decode |
(I haven't checked any code or behavior before writing this comment, but) Wouldn't the underlying Express/Polka/etc. library be responsible for decoding |
I meant the client-side routing part. But you bring a good point: currently, server-side rendered components receive the framework's |
Express & Polka both use |
I've updated the PR so that |
does anyone knows if express-validation can some how be added? Is there any discussion forums for svelte or sapper? |
Another thing thrown up by the surprisingly productive issue #347: we should probably apply
decodeURIComponent
toreq.params
. That's what Express does if you have something like this:I think it's what I'd expect to happen in any case.
The text was updated successfully, but these errors were encountered: