solid-panes icon indicating copy to clipboard operation
solid-panes copied to clipboard

Trusted Applications: Disallow invalid Origin values / strip trailing slashes

Open angelo-v opened this issue 5 years ago • 0 comments

It is a common and frustrating mistake to put a slash at the end of the Origin value (see e.g. https://gitter.im/solid/chat?at=5f201ed23eef7e1ffe3c40b4)

The UI should validate if the value is a valid Origin value, aka Origin: <scheme> "://" <hostname> [ ":" <port> ] (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin)

Especially it should disallow or auto-remove trailing slashes

angelo-v avatar Jul 30 '20 19:07 angelo-v