File zabbix-3.0.20-jsLoader-fix.patch of Package zabbix30

--- frontends/php/jsLoader.php.orig	2018-08-19 03:49:17.819869688 -0400
+++ frontends/php/jsLoader.php	2018-08-19 03:50:55.849869688 -0400
@@ -286,7 +286,7 @@
 	exit;
 }
 
-header('Content-Type: application/javascript; charset=UTF-8');
+header('Content-Type: text/javascript; charset=UTF-8');
 // breaks if "zlib.output_compression = On"
 // header('Content-length: '.$jsLength);
 header('Cache-Control: public, must-revalidate');
openSUSE Build Service is sponsored by