Quantcast
Channel: Comments for The Developer's Tidbits
Viewing all articles
Browse latest Browse all 373

Comment on Tuckey URLRewrite How-To by Aryan Venkat

$
0
0

Hi Ben,
Referring to Conditions Based On URL Parameters,
I’ve done something using UrlRewriteFilter which is actually required to make my site Google crawl-able.
Here’s how it goes.

(apple|kiwi|orange)
^/mysite/(.+)/(.*)$
/mysite/content/%{parameter:fruit}

It fails throwing java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern – %%7.
As my variable contains underscores (_escaped_fragment_), where in it works fine with a parameter variable called ‘friuit’.
Please help me get out of it.


Viewing all articles
Browse latest Browse all 373

Trending Articles