summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6413bd8)
Exception objects need to be converted to strings for usage as placeholders,
and while at it, xml characters should be escaped for proper display.
include_once 'page.inc.php';
ob_start();
require '500.inc.html';
include_once 'page.inc.php';
ob_start();
require '500.inc.html';
- print getoutput(['debug' => $error]);
+ print getoutput(['debug' => htmlspecialchars($error)]);
}
set_exception_handler('fail');
}
set_exception_handler('fail');