cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira" ...@upaya.co.uk>
Subject Re: RequestGenerator: Problem with % character
Date Thu, 03 Jul 2003 10:01:10 GMT
Uwe,

Bear in mind that % has a meaning in a URL - it is used to encode characters, so a 
space can be represented as %20. That'll be part of the reason why it isn't working. 
Are you submitting from a form, or just typing in the URL?

Regards, Upayavira

On 3 Jul 2003 at 11:55, Uwe Gerger wrote:

> Hello,
> I'm using Cocoon 2.0.4 and I have the following problem with the
> request generator. After inserting the value "my%sign" and "my?char"
> in two input field and after starting the request with the following
> link
> 
> http://localhost:8080/xls_speed/speed-showquery.xml?parameter=my%sign&
> otherparameter=my?char
> 
> 
> the output from the request generator looks like this:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <request target="/xls_speed/speed-showquery.xml" source="" xmlns="
> http://xml.apache.org/cocoon/requestgenerator/2.0">
> 
>   <requestHeaders>
>     <header name="accept">image/gif, image/x-xbitmap, image/jpeg,
> image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel,
> application/msword, */*</header>
>     <header name="accept-language">de</header>
>     <header name="accept-encoding">gzip, deflate</header>
>     <header name="user-agent">Mozilla/4.0 (compatible; MSIE 6.0;
>     Windows
> NT 5.1; Q312461)</header>
>     <header name="host">localhost:8080</header>
>     <header name="connection">Keep-Alive</header>
>   </requestHeaders>
> 
>   <requestParameters>
>     <parameter name="otherparameter">
>       <value>my?char</value>
>     </parameter>
>   </requestParameters>
> 
>   <configurationParameters>
>   </configurationParameters>
> 
> </request>
> 
> The first parameter wich contains the % character is lost. Is this a
> known bug? Or what can be the reason?
> 
> Thanks in advance
>  Uwe
> 
> -- 
> Uwe Gerger                                _/_/_/   _/    _/  _/    _/
> BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
> 80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
> Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
> Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
> mailto:Uwe.Gerger@bmw.de
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For
> additional commands, e-mail: users-help@cocoon.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message