there seems to be a problem with rewrite rules when using the url attribute in PrettyFaces 3.2.0. A user reported something similar yesterday. We did a major refactoring regarding URL encoding in this version and I think there is something wrong with this new code.
What exactly is your requirement? Do you want to change the hostname or do you want to rewrite just the part of the URL that is relative to the context path? If you want to change the hostname I suggest to switch to PrettyFaces 3.1.0. This should work in this version without problems. In the other case you could use the substitute attribute instead of the url attribute as it works relative to the context path. See the documentation for details.
I’ll come back to you as soon as I find some time to take a deeper look at this issue.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.