diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-04-17 10:40:19 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-04-17 17:15:35 +0200 |
commit | c4d4065dc2ab6f1533d668de47de02a3145f978b (patch) | |
tree | cc710fc6611518583e9f04b1cd729bb98b2538af /settings | |
parent | d4be12ab21d191c6db6fad2fdd6f65853a24eafb (diff) | |
download | nextcloud-server-c4d4065dc2ab6f1533d668de47de02a3145f978b.tar.gz nextcloud-server-c4d4065dc2ab6f1533d668de47de02a3145f978b.zip |
Use JS as content-type due to mimesniffing
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/apps-custom.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps-custom.php b/settings/js/apps-custom.php index c25148cdde5..2b2f256b39f 100644 --- a/settings/js/apps-custom.php +++ b/settings/js/apps-custom.php @@ -9,8 +9,8 @@ // Check if admin user OC_Util::checkAdminUser(); -// Set the content type to JSON -header('Content-type: application/json'); +// Set the content type to JS +header('Content-type: application/javascript'); // Disallow caching header("Cache-Control: no-cache, must-revalidate"); |