mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 00:59:48 -06:00
Merge pull request #2066 from Squidly271/patch-41
Fix: Disallow HTML in plugin attributes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/php -q
|
||||
<?PHP
|
||||
// Copyright 2005-2023, Lime Technology
|
||||
// Copyright 2005-2025, Lime Technology
|
||||
// License: GPLv2 only
|
||||
//
|
||||
// Program updates made by Bergware International (April 2020)
|
||||
@@ -880,6 +880,6 @@ if ($value === false) {
|
||||
write("plugin: $error\n");
|
||||
done(1);
|
||||
}
|
||||
write("$value\n");
|
||||
write(strip_tags(html_entity_decode($value))."\n");
|
||||
done(0);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user