ProxiTok icon indicating copy to clipboard operation
ProxiTok copied to clipboard

Normalize multiple slashes

Open igalic opened this issue 2 years ago • 2 comments

When accidentally leaving more than one slash in the Input:

https://proxitok.herokuapp.com/@placeholder/video//ZMNAERSpw

ProxiTok just returns a 404 instead of normalizing the URL.

igalic avatar Jul 05 '22 20:07 igalic

Hi! As far as I'm aware that is handled by my routing library and I can't fix it. We could report a new issue to the library or change to another one that does normalize the url.

pablouser1 avatar Jul 23 '22 16:07 pablouser1

i think you might able to do normalization yourself, by implementing getCurrentUri: https://github.com/bramus/router/issues/86

igalic avatar Aug 01 '22 19:08 igalic