Advanced Dispatcher rules (eg. regex)
Hi,
I'm trying to add some advanced rules to the Dispatcher (4.1.9) but I'm finding myself very limited by the way patterns have to be written. [1] Is there any reason why it doesn't just use regex?
How would I implement rules like these with the current patterns?
- Only allow query parameters "q" and "fq". Saying /query "q=*&fq=*" allows everything because of the * I can't even say "q" OR "fq"
- Specify the number of characters (regex: {3}) [a-zA-Z0-9] only matches one character but I want to be able to say 'match unlimited number of this'.
In addition to these pattern issues, does anybody have resources for the new vanity url feature in 4.1.9?
[1] http://docs.adobe.com/docs/en/dispatcher/disp-config.html#Designing Patterns for glob Properties