cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Pietschmann" <dev.sen...@gmail.com>
Subject request parameter with % is lost
Date Thu, 22 Sep 2005 07:11:50 GMT
Hi guys,

 

we're trying to send GET parameters with the request in our application.
This hasn't been a problem so far. I've written an action that outputs all
parameters from the request - see what happens:

 

http://localhost:8080/cocoon/..
<http://localhost:8080/cocoon/..%3csnip%3e..?Param1=noProblem&Param2=atAll>
<snip>..?Param1=noProblem&Param2=atAll')

 

Action says -->

Request Params: [Param2,Param1] #####

Request Parameter values:

Param2: noProblem

Param1: atAll

 

http://localhost:8080/cocoon/..
<http://localhost:8080/cocoon/..%3csnip%3e..?Param1=Blumentopf&Param2=Baum%2
5haus> <snip>..?Param1=Blumentopf&Param2=Baum%25haus')

 

Action says -->

Request Params: [Param1] #####

Request Parameter values:

Param1: Blumentopf

 

So basically everytime a parameter value contains an encoded percent sign
(%25) the param is totally lost - not only its content.

 

Why is that?

 

Thanx,

Stefan

 

 


Mime
View raw message