Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Various parts of the UI break if there is a "/" in a DC name #279

Closed
mattrobenolt opened this issue Mar 6, 2015 · 2 comments
Closed

Various parts of the UI break if there is a "/" in a DC name #279

mattrobenolt opened this issue Mar 6, 2015 · 2 comments
Labels

Comments

@mattrobenolt
Copy link

We set up Uchiwa, and one of our DCs was named dal05 / dal09, and the url becomes: /#/client/dal05%20/%20dal09/<node>. I assume this extra / in the url is causing some issues on the frontend.

@palourde
Copy link
Contributor

palourde commented Mar 6, 2015

Thanks @mattrobenolt for reporting this issue, I'll try to have a fix released within the next release.

@palourde
Copy link
Contributor

After some investigation, it looks like replacing encodeURI with encodeURIComponent in the go method, in order to escape characters like /, would require a good amount of work.

For now, I'll decrease the priority of this issue and you should avoid using the characters : / ; and ? in a datacenter or client name. I'll update the documentation to reflect this limitation. I'll gladly accept a PR for this issue, otherwise I'll work on it once the other issues with greater priority are completed.

@palourde palourde added * and removed *** labels Mar 16, 2015
@palourde palourde added this to the 0.10.0 milestone Jun 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants