You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Craig Doremus (JIRA)" <ji...@apache.org> on 2008/06/02 12:45:45 UTC

[jira] Closed: (PLUTO-485) Need to handle URIs that contain a question mark

     [ https://issues.apache.org/jira/browse/PLUTO-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Doremus closed PLUTO-485.
-------------------------------

    Resolution: Fixed

Patch applied in SVN rev 662388. Thanks Donald!

> Need to handle URIs that contain a question mark
> ------------------------------------------------
>
>                 Key: PLUTO-485
>                 URL: https://issues.apache.org/jira/browse/PLUTO-485
>             Project: Pluto
>          Issue Type: Bug
>          Components: portal driver
>    Affects Versions: 1.1.5
>            Reporter: Donald Woods
>             Fix For: 1.1.6
>
>         Attachments: Pluto-485-1.1.x.patch
>
>
> The handling of question marks in the URI has already been fixed in trunk, but needs to be applied to the 1.1.x branch.
> pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/url/impl/PortalURLParserImpl.java
> . . 
>     //This is a list of characters that need to be encoded  to be protected
>     //The ? is necessary to protect URI's with a query portion that is being passed as a parameter
>     private static final String[][] ENCODINGS = new String[][] {
>     		new String[] { "_",  "0x1" },
>             new String[] { ".",  "0x2" },
>             new String[] { "/",  "0x3" },
>             new String[] { "\r", "0x4" },
>             new String[] { "\n", "0x5" },
>             new String[] { "<",  "0x6" },
>             new String[] { ">",  "0x7" },
>             new String[] { " ",  "0x8" },
>             new String[] { "#",  "0x9" },
>             new String[] { "?",  "0xa" },
>             new String[] { "\\", "0xb" },
>             new String[] { "%",  "0xc" },
>     };
> Note, the last 3 encodings above were added in trunk but are missing in 1.1.x.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.