Commit e4b800da authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Patch XSS vulnerability on print pages.

parent 2c74e623
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ function decode_file($filename) {
    return jsonp_decode(file_get_contents($filename));
  }
  else {
    throw new Exception("File $filename not found");
    throw new Exception("File ".htmlspecialchars($filename)." not found");
  }
}