Fixed recognition of custom URLs with trailing numbers
authorAlexander Ebert <ebert@woltlab.com>
Mon, 22 Jan 2018 12:24:28 +0000 (13:24 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 22 Jan 2018 12:24:28 +0000 (13:24 +0100)
wcfsetup/install/files/lib/system/request/route/LookupRequestRoute.class.php

index f4dc02e643f49d16435932fd4ae82c879c644a60..00c219f6492d448a6174531f5ec7580baf9faa01 100644 (file)
@@ -35,6 +35,7 @@ class LookupRequestRoute implements IRequestRoute {
                $regex = '~^
                        (?P<controller>.+?)
                        (?:
+                               /
                                (?P<id>[0-9]+)
                                (?:
                                        -