From 49cd86638421a189addef665e4ad01ba4f5a4cbd Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 24 Feb 2017 16:46:03 +0100 Subject: [PATCH] Fixed encoding issue --- com.woltlab.wcf/package.xml | 21 +++---------------- .../install/files/lib/system/WCF.class.php | 4 ++-- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/com.woltlab.wcf/package.xml b/com.woltlab.wcf/package.xml index 2aaa38b904..3d200da46c 100644 --- a/com.woltlab.wcf/package.xml +++ b/com.woltlab.wcf/package.xml @@ -5,8 +5,8 @@ 1 - 2.0.14 - 2016-10-18 + 2.0.15 + 2017-02-24 @@ -43,22 +43,7 @@ acp/post_install.php - - acptemplates_update.tar + files_update.tar - templates_update.tar - - language/*.xml - - option.xml - - - acptemplates_update.tar - files_update.tar - templates_update.tar - - language/*.xml - - option.xml diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 39229a3edc..a95fc364d1 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -38,7 +38,7 @@ if (!@ini_get('date.timezone')) { } // define current wcf version -define('WCF_VERSION', '2.0.14 (Maelstrom)'); +define('WCF_VERSION', '2.0.15 (Maelstrom)'); // define current unix timestamp define('TIME_NOW', time()); @@ -736,7 +736,7 @@ class WCF { * @return string */ public function getAnchor($fragment) { - return self::getRequestURI() . '#' . $fragment; + return StringUtil::encodeHTML(self::getRequestURI() . '#' . $fragment); } /** -- 2.20.1