Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Custom Routes with Wildcard
I'm new to Vanilla and developing a CMS as an application but I'm stuck trying to define some custom routes with wildcard matches.
I assumed they should look something like:
I've tried all sorts of variations but just can't get it to work. I can only get it to work if I use actual values instead of pattern matching.
I assumed they should look something like:
$Configuration['Routes']['posts/:num'] = 'Posts/Show/$1';
I've tried all sorts of variations but just can't get it to work. I can only get it to work if I use actual values instead of pattern matching.
0
Comments
I still have to use an actual regular expression as the route instead of :num or :alphanum but I'm still unsure whether I'm missing something or it's a bug.