You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by dynnamitt <kj...@gmail.com> on 2008/02/13 09:44:18 UTC
Re: Wildcard and Regexp Matcher encoding problem
Hi,
I got the same problem in 2.1.11... what's the solution?
regards
dynnamitt.
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-tp39983p15450990.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