[magnolia-dev] [JIRA] (PAGES-60) Page node names that contain ~ (tilde) cannot be renedered

2016-03-02 Thread JIRA (on behalf of Philip Mundt)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Philip Mundt updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Magnolia pages module /  PAGES-60 
 
 
 
  Page node names that contain ~ (tilde) cannot be renedered  
 
 
 
 
 
 
 
 
 

Change By:
 
 Philip Mundt 
 
 
 

Affects Version/s:
 
 5.4.3 
 
 
 

Affects Version/s:
 
 5.4.4 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (PAGES-60) Page node names that contain ~ (tilde) cannot be renedered

2016-03-02 Thread JIRA (on behalf of Philip Mundt)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Philip Mundt created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Magnolia pages module /  PAGES-60 
 
 
 
  Page node names that contain ~ (tilde) cannot be renedered  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 5.4.4 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 02/Mar/16 1:12 PM 
 
 
 

Priority:
 
  Neutral 
 
 
 

Reporter:
 
 Philip Mundt 
 
 
 
 
 
 
 
 
 
 
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). 
Suggested solution 
Either 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.