From: Alexander Ebert Date: Sun, 8 Apr 2018 21:25:24 +0000 (+0200) Subject: Discard invalid routes X-Git-Tag: 3.1.2~28 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4c7c5f943aee81810f8afd497005f432223e25c;p=GitHub%2FWoltLab%2FWCF.git Discard invalid routes Fixes #2553 --- diff --git a/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php b/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php index 2f56451245..155eb142da 100644 --- a/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php +++ b/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php @@ -63,8 +63,8 @@ class DynamicRequestRoute implements IRequestRoute { (?:-[a-z][a-z0-9]+)* )+ ) + (?:/|$) (?: - / (?P\d+) (?: -