When I use an ampersand (&) in a Category name with spaces in a certain order I get an error that does not allow me to submit the change. Using EE v.2.9.2.
Error: "The data you submitted did not pass our security check."
This seems to be the "invalid_xss_check" error.
I have tried to change the Category group to "Allow all HTML" and to also encode all HTML but I get the same results.
Here is what works and what doesn't work (screenshot below).
Works:
- "One[space]&[space]Two"
- "One&[space]Two"
Does Not Work:
- "One&Two" ( <--- This is the one I want )
- "One[space]&Two"
- "One[space]&[space]Two" - (going insane...)
Screenshot:
<a class="nobarlink" style="display:inline; padding: 0.5ex; margin:0;" ...
while this is ok:<a class="nobarlink" ...
. Ideally it's better to solve this upstream in the template CSS, but frustrating to have to add yet another special case for one category in a site-wide resource. I just used mysql workbench to edit table directly. Oh well, at least I know why because of this thread. Thanks for that.