cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dynnamitt <kjetil.midt...@gmail.com>
Subject Re: Wildcard and Regexp Matcher encoding problem
Date Wed, 13 Feb 2008 09:01:52 GMT

solution is described here:

http://www.nabble.com/Cocoon%2C-UTF-8-and-encodeURI-to7587213.html#a7595919

K-D

 

Grzegorz TaƄczyk wrote:
> 
> Hello,
> 
>   Can You tell me if it is a known issue that matchers malform
>   encoding of nonUS characters? I have no problems when I run Cocoon
>   2.1.5.1 on Windows, but when I try on Linux with Cocoon 2.1.6 then
>   things go wrong.
> 
>   If there are two matches:
> 
>       <map:match type="regexp" pattern="page/(.*)">
>         <map:redirect-to uri="cocoon:/page.html?page={1}"/>
>       </map:match>  
> 
>       <map:match type="regexp" pattern="page.html">
>         <map:generate....(sth. that use {request-param:page}
>       </map:match>
> 
>   Then there is a diffrence when I request:
>   page/i%C4%85%C4%99
>   and
>   page.html?page=i%C4%85%C4%99
> 
>   I dont know why but {1} != i%C4%85%C4%99 in first match, but
>   everything is fine when I call second match directly.
> 
>   My question is: what was my mistake here?
> 
>   Thanks for any help
>       
> -- 
> Best regards,
>  Grzegorz                          mailto:goliatus@polzone.pl
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Wildcard-and-Regexp-Matcher-encoding-problem-tp39983p15451168.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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


Mime
View raw message