Explorar o código

Primitive extension system: minor change

https://github.com/marienfressinaud/FreshRSS/issues/252
Alexandre Alapetite %!s(int64=11) %!d(string=hai) anos
pai
achega
5a9b08e084
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      p/ext.php

+ 3 - 0
p/ext.php

@@ -20,6 +20,9 @@ if (isset($_GET['j'])) {
 	header('Content-Type: text/css; charset=UTF-8');
 	header('Content-Disposition: inline; filename="style.css"');
 	$filename .= 'style.css';
+} else {
+	header('HTTP/1.1 400 Bad Request');
+	die();
 }
 
 $mtime = @filemtime($filename);