Reply to thread

Seems like there are URLs in vBulletin that contain other punctuation as well, so far I've encountered: !, ( and ). Changing line 261 in Router.php from:


[CODE="php"]$regexMatch = '/\/' . $action . '(?:\/(?P<content_id>\d+)-[a-z0-9-]+(?:\/|\?|$))(?:page(?P<page>\d+))?/i';[/CODE]


to

[CODE="php"]$regexMatch = '/\/' . $action . '(?:\/(?P<content_id>\d+)-[a-z0-9-!\(\)]+(?:\/|\?|$))(?:page(?P<page>\d+))?/i';[/CODE]


seems to have resolved most of what I've run into but I'm sure there are others, so may be worth addressing this in a bit of a different way


Back
Top Bottom