Bug 6347 - io:param should url encode
Summary: io:param should url encode
Status: RESOLVED LATER
Alias: None
Product: Taglibs
Classification: Unclassified
Component: IO Taglib (show other bugs)
Version: 1.0
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-10 09:45 UTC by dcolling
Modified: 2009-11-29 19:38 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcolling 2002-02-10 09:45:12 UTC
I'm having a problem here that seems to boil down to io:param not doing a url
encode on its argument. As usual, it's hard to debug these things because
various url processors do things in various ways. In this case, I'm using the
request tag to fetch a parameter, then using io to get a url, and using io:param
to plug the parameter into the url.  All works fine until my string includes a
space then I get a crash out of io when it tries to read the resulting url.

        <io:http url="http://localhost:8080/service/AccountData" >
          <io:param name="Account"><req:parameter name="AccountSelect" /></io:param>
        </io:http>

The <req:parameter/> works fine but the url but <io:http> gives me a File Not
Found exception quoting the url, which contains an unencoded space.

Seems to me that one or the other of these tags should be encoding that space.
But it has to be param because io:http could not know what to encode after the
url has been put together.
Comment 1 Henri Yandell 2009-11-29 19:38:28 UTC
Resolving. Taglib has been retired.