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?

#25751

Hmmm. I really think that PrettyFaces matches against the _encoded_ version of the URL. Could you give these two versions a try:

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

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

You could also try to add German umlauts to the regular expression. But I don’t think this will help:

<pattern value="/#{ /[%a-zA-ZäüöÄÖÜß0-9\\-]+)/ recipe }.html" />