mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-09-07 08:11:07 +02:00
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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user