Commit 4779dce4 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

changed response headers text/html -> text/plain to combat LibreJS (if turned...

changed response headers text/html -> text/plain to combat LibreJS (if turned on) modifying interceptions
parent 80505297
......@@ -236,7 +236,11 @@ function filter_record_by_file($a,$f){
return $res;
}
// default CT is text/html - LibreJS can add extra tags: <html><head></head><body>response</body></html>
header("Content-Type: text/plain");
if ($cmd=="do_nothing"){
if (isset($_GET['file'])) $file = $_GET['file'];
else $file = $DEBUGFSFILE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment