From 0be18dca2fe9060bb0caaef5dc57be9a5bfcc4bb Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 19 Feb 2015 10:45:25 +0100 Subject: [PATCH] Fixed empty title appended as query string argument --- .../install/files/lib/system/request/FlexibleRoute.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/system/request/FlexibleRoute.class.php b/wcfsetup/install/files/lib/system/request/FlexibleRoute.class.php index 163a47934e..81f433239f 100644 --- a/wcfsetup/install/files/lib/system/request/FlexibleRoute.class.php +++ b/wcfsetup/install/files/lib/system/request/FlexibleRoute.class.php @@ -172,6 +172,9 @@ class FlexibleRoute implements IRoute { else { // routes are build from left-to-right if (empty($components[$value])) { + // drop empty components to avoid them being appended as query string argument + unset($components[$value]); + break; } -- 2.20.1