Reply To: URL Encoding – how does it work?

Splash Forums PrettyFaces Users URL Encoding – how does it work? Reply To: URL Encoding – how does it work?

#25743

The rendered link is correct. The problem seems to be the regular expression that you are using for the parameter. The value of the parameter as submitted by the browser is:

Schwarzw%C3%A4lder-Kirsch-Muffins

Which won’t match against the regular expression:

[a-zA-Z ]*

Try this configuration instead:

<pattern value="/#{ /[%a-zA-Z0-9\-]+)/ recipe }.html" />