From: Perry Werneck Date: Fri, 31 May 2013 20:37:12 +0000 (-0300) Subject: Changing error.php?mode=js from text/plain to text/javascript X-Git-Tag: 1.8~36^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bcb6b0c1268a1d921a4a184d18a2775df1dfce35;p=tt-rss.git Changing error.php?mode=js from text/plain to text/javascript Changing the js mimetype to text/javascript to avoid problems with some proxy configurations. --- diff --git a/errors.php b/errors.php index 405da09c..f7333fd1 100644 --- a/errors.php +++ b/errors.php @@ -35,7 +35,7 @@ $ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration"); if ($_REQUEST['mode'] == 'js') { - header("Content-Type: text/plain; charset=UTF-8"); + header("Content-Type: text/javascript; charset=UTF-8"); print "var ERRORS = [];\n";