Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing definitions could support an encoding decoding function or declaration #12

Open
bryanrasmussen opened this issue Jul 28, 2017 · 0 comments

Comments

@bryanrasmussen
Copy link

bryanrasmussen commented Jul 28, 2017

Why -

parts of routes might best be represented by a human readable text for example
ServiceStatus.html#!Driftsinfo/Address/Tv, Broadband & Mobile/

TV, Broadband & Mobile in the current situation breaks things, client side will definitely want to access the human readable path fragment, and it might be useful for SEO / other reasons to have the route be structured like this in the actual url.

'Encoding / Decoding of the url path fragment can be done on the project level, but then we miss out on having human readable urls in the address bar. For this reason it should probably handle encodable values somewhere in the router,

On edit: clarified issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant