From 26bdfb2b4d96213b5c194e378f8d1ed912f4057d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 17 Aug 2016 10:09:01 +0200 Subject: [PATCH] Overlooked an AJAX endpoint --- wcfsetup/install/files/js/WCF.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 2361562861..e6aeac305e 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -6013,6 +6013,9 @@ WCF.Upload = Class.extend({ }, options || { }); this._options.url = WCF.convertLegacyURL(this._options.url); + if (this._options.url.indexOf('index.php') === 0) { + this._options.url = WSC_API_URL + this._options.url; + } // check for ajax upload support var $xhr = new XMLHttpRequest(); -- 2.20.1