From: Alexander Ebert Date: Fri, 24 Feb 2017 15:46:03 +0000 (+0100) Subject: Fixed encoding issue X-Git-Tag: 2.0.15~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49cd86638421a189addef665e4ad01ba4f5a4cbd;p=GitHub%2FWoltLab%2FWCF.git Fixed encoding issue --- 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); } /**