mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18: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:
1 parent
675ec899f4
commit
6aad6d37ba
5 files changed
+32
-11
No files matched your search
@@ -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