Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-766

PageAdminPortlet.addPage(ActionRequest) does not check if the portlet context path already contains a leading forward-slash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.0.1
    • 3.1.0
    • portlets-admin
    • None

    Description

      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:

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

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

      Attachments

        Activity

          People

            ngriffin7a Neil Griffin (Inactive)
            ngriffin7a Neil Griffin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: