chkal/pf-issue-test — Issue #76: Utf 8 % encoding for redirection target
Author: chkal
Created: 2012-03-06 07:29:35+00:00
State: closed
Labels: Priority-Medium, Type-Defect

Originally filed by **jamaweba...@gmail.com** on 2010-11-18T14:04:39

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=76

What steps will reproduce the problem?

What is the expected output? What do you see instead?
The fisrt rule makes redirection to virtu%E1ln%ED, which uses iso-latin encoding.

I would expext to make redirection to utf encoded string, because I use utf-8 encoding for whole configuration file.

What version of PrettyFaces are you using? On what server and version,
version of JSF, and other relevant technologies?
3.1.0 over JSF2 mojarra, tomcat with enabled URIEncoding="UTF-8"

---------------------------
BTW: I noticed one more thing that can be confusing from the first sight, but I consider it as correct:

Expexted: Both variants performs redirection to /presmeruj
I see: The first redirection is OK, the second is not taken into account.

After a while I reconsidered this be a correct behaviour, because match atribute is filled with REGEXP. Maybe some note in doc should be helpfull for others.