-
Bug
-
Resolution: Obsolete
-
Neutral
-
None
-
5.4.3
-
None
-
None
It is currently possible to add a page with node name that contain ~ resulting in a un-renderable page.
To reproduce
- Goto page app
- Add new page with page name test~page
- Preview page: you should get a 404
Source
The ~ (tilde) is a reserved character due to being used as selector delimiter (see info.magnolia.cms.core.Path#SELECTOR_DELIMITER).
Considered solutions
- prevent entering the ~ as part of a page name e.g. by validation or
- always sanitize the path (by replacing tilde with e.g. dash) upon storage.
- support both selector or node-name when there's no ambiguity (and specify who should win otherwise)
Acceptance criteria
- is causing
-
MAGNOLIA-6836 Can't preview successfully-published page with tilde in name
- Closed
- relates to
-
PAGES-61 DefaultValue does not work for page properties
- Closed
-
MGNLUI-3795 Node names from content apps that contain ~ (tilde) might cause trouble when used in URL (e.g. categories)
- Closed