Neil Griffin created PLUTO-766:
----------------------------------

             Summary: PageAdminPortlet.addPage(ActionRequest) does not check if 
the portlet context path already contains a leading forward-slash
                 Key: PLUTO-766
                 URL: https://issues.apache.org/jira/browse/PLUTO-766
             Project: Pluto
          Issue Type: Bug
          Components: portlets-admin
    Affects Versions: 3.0.1, 3.0.0
            Reporter: Neil Griffin
            Assignee: Neil Griffin
             Fix For: 3.0.2


The following fragment of code in the 
{{PageAdminPortlet.addPage(ActionRequest)}} method does not check if the 
portlet context path already contains a leading forward-slash:

{code:java|title=PageAdminPortlet.java}
String contextPath = applicationName;
if (contextPath.length() > 0)
{
    contextPath = "/" + contextPath;
}
{code}

Because of this, the {{contextPath}} might end up with double forward-slashes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to