Affects Version/s: 6.1.0 CE GA1, 6.2.0 CE M2
Component/s: ~ [Archived] Sites Management
After editing a page and changing the friendlyURL the portal is smart enough to detect the change in the friendlyURL and update any redirects which might have been passed from the JSP. But if the old friendly URL contains an string that is also part of a parameter value then incorrect replacement is done.
Example steps to reproduce the issue:
1) Create a page called "Layout"
2) Go to the page and click "Manage > Page"
3) Change the friendlyURL to something other than "/layout" (for example "/otherlayout") and click save
Result: The pop up shows an empty area. The logs show:
14:24:48,786 ERROR [PortletRequestProcessor:321] Invalid path was requested /otherlayouts_admin/edit_layouts
Expected result: the form should be shown again in the pop-up with a success message.