Equal and colon characters in HTML ID break monitoring tabs
Summary
Currently, the HTML ID are based on the xDAQ application URN without any escaping. This leads to non-working Bootstrap tabs as in the monitoring suite.
Steps to reproduce
- Use the monitoring suite with more than one AMC in the same shelf monitor.
- Try to move from one tab to the other.
- It does not work, tab is still same. :/
What is the expected correct behavior?
Tabs in the monitoring suite web UI are working.
Possible fixes
Remove all "dangerous" characters from HTML ID, in the monitoring suite, but also in all other places. To be conservative, we can restrict ourselves to what was allowed in the HTML4 standard, minus the CSS selectors, that is letters ([A-Za-z]), digits ([0-9]), hyphens (-
), and underscores (_
).
Edited by Camilla Galloni