-
Bug
-
Resolution: Fixed
-
Major
-
6.2.19
-
None
Entering special JCR internal characters in jcrName fields throws exception. This bug affects all apps and all node types. It can happen in every dialog/app where a jcrName field is included.
Steps to reproduce
- open pages app
- create a new page
- enter name beginning with "{}" or name containing "|" (pipe)
- leave the field or click next
Result
- Exceptions are thrown (2 different ones for {} and |)
This is just one way. All the same with assets, on folders, creating items, renaming items,...
Expected behaviour
- value of jcrName field is checked for invalid inputs
- should not throw an exception
- display a validation error
- display a hint which characters are allowed
Â
I propose to disallow any [] {} | : in JCR names because the can have a special meaning in some cases.
Dev note
having UTF8 support enabled is necessary to reproduce the issue
Acceptance criteria
There are no Sub-Tasks for this issue.