Pluto
  1. Pluto
  2. PLUTO-361

Error when parsing the portal url

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.2, 1.1.4
    • Fix Version/s: 1.1.5
    • Component/s: portal driver
    • Labels:
      None
    • Environment:
      Fedora 5, Tomcat 5.0.28

      Description

      When I use the below link:

      http://localhost:8080/pluto/portal/__

      I got this error:

      java.lang.StringIndexOutOfBoundsException: String index out of range: -2
      java.lang.String.substring(String.java:1768)
      java.lang.String.substring(String.java:1735)
      org.apache.pluto.driver.url.impl.PortalURLParserImpl.decodeParameter(PortalURLParserImpl.java:357)
      org.apache.pluto.driver.url.impl.PortalURLParserImpl.parse(PortalURLParserImpl.java:158)
      org.apache.pluto.driver.core.PortalRequestContext.getRequestedPortalURL(PortalRequestContext.java:113)
      org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:95)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      1. patch-PLUTO-361.txt
        2 kB
        Marc Veary
      2. unittest-PLUTO-361.txt
        18 kB
        Marc Veary

        Issue Links

          Activity

          thanh created issue -
          Marc Veary made changes -
          Field Original Value New Value
          Attachment patch-PLUTO-361.txt [ 12361057 ]
          Marc Veary made changes -
          Attachment unittest-PLUTO-361.txt [ 12361058 ]
          Craig Doremus made changes -
          Assignee Craig Doremus [ cdoremus ]
          Craig Doremus made changes -
          Fix Version/s 1.2.0 [ 12312213 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.1.4 [ 12312421 ]
          Resolution Fixed [ 1 ]
          Elliot Metsger made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Elliot Metsger made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Assignee Craig Doremus [ cdoremus ] Elliot Metsger [ emetsger ]
          Elliot Metsger made changes -
          Affects Version/s 1.1.4 [ 12312421 ]
          Fix Version/s 1.2.0 [ 12312213 ]
          Fix Version/s 1.1.4 [ 12312421 ]
          Fix Version/s 1.1.5 [ 12312652 ]
          Elliot Metsger made changes -
          Fix Version/s 2.0.0 [ 12312914 ]
          Elliot Metsger made changes -
          Link This issue is cloned as PLUTO-470 [ PLUTO-470 ]
          Elliot Metsger made changes -
          Fix Version/s 2.0.0 [ 12312914 ]
          Elliot Metsger made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Mark Thomas made changes -
          Workflow jira [ 12403059 ] Default workflow, editable Closed status [ 12565275 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12565275 ] jira [ 12586009 ]

            People

            • Assignee:
              Elliot Metsger
              Reporter:
              thanh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development