Parameters containing URIs with query portion are passed incorrectly
--------------------------------------------------------------------
Key: PLUTO-396
URL: https://issues.apache.org/jira/browse/PLUTO-396
Project: Pluto
Issue Type: Bug
Components: portal driver
Affects Versions: 1.2.0
Reporter: Ajay Panagariya
Fix For: 1.2.0
Some URL's are of the form
(a) http://www.example.com/test?item=pluto.apache.com
others are of the form
(b) http://www.example.com/test?item=pluto.apache.com/wiki?id=1234
In (b), the special characters get encoded as %F3's, etc. When it gets to
processAction method in the portlet, the URI of concern (the 'item' parameter
in this case) looks fine. By this parameters gets to the doView, everything
after the '?' is lost. The patch I am including properly encodes the '?' such
that the '?' is not misinterpreted. I have also added comments to the section
of code pertaining to this, so that if there are other special characters that
need to be handled in the future it is clear where these should be added.
-Ajay Panagariya
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.