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

Some render parameters are lost if they contains semicolon

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.7
    • Fix Version/s: 2.0.4, 1.1.8, 2.1.0, 3.0.0
    • Component/s: portal driver
    • Labels:
      None

      Description

      If one render parameter contains semicolon, those parameters after it in the url are lost
      Like the URL below
      _pm0x3system-database0x2DBWizard!1134683811|0_view/rp0x3system-database0x2DBWizard!1134683811|0_rarPath/org0x2tranql0x3tranql-connector-ra0x30x3rar/rp0x3system-database0x2DBWizard!1134683811|0_driverClass/com0x2microsoft0x2sqlserver0x2jdbc0x2SQLServerDriver/rp0x3system-database0x2DBWizard!1134683811|0_mode/params/rp0x3system-database0x2DBWizard!1134683811|0_dbtype/SQL0x8Server0x82005/rp0x3system-database0x2DBWizard!1134683811|0_adapterDisplayName/TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/rp0x3system-database0x2DBWizard!1134683811|0_urlPrototype/jdbc:sqlserver:0x30x3%7BHost%7D:%7BPort%7D;DatabaseName=%7BDatabase%7D/rp0x3system-database0x2DBWizard!1134683811|0_transactionType/LOCAL/_rp0x3system-database0x2DBWizard!1134683811|0_name/ddddd

      The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"), it will return null.
      After some investigations, I found in the class PortalURLParserImpl, line 115

      String pathInfo = request.getPathInfo(); <--- the pathInfo got from the request is truncated by the semicolon.
      if (pathInfo == null) {
      Maybe, we need to add the ; to the ENCODINGS arrays ?
      Thanks !

        Attachments

        1. PLUTO-579-0921.patch
          6 kB
          Ivan
        2. PLUTO-579.patch
          5 kB
          Ivan

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              xuhaihong Ivan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: