WR #490867 auth_outage Review changes - sanitise header metadata and file request parameters, restrict served mime types, guard warning bar css output, move svgicons config change out of constructor, add missing form field types

This commit is contained in:
Waleed Hassan
2026-07-12 22:15:41 +01:00
parent 675ec899f4
commit 6aad6d37ba
5 changed files with 32 additions and 11 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ if (!$viewbag['static']) {
<style>
<?php
readfile($CFG->dirroot . '/auth/outage/views/warningbar/warningbar.css');
echo outagelib::get_config()->css;
echo preg_replace('/<\s*\/\s*style\s*>/i', '', outagelib::get_config()->css);
?>
</style>