mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
run passed parameter 'action' through htmlspecialchars() before output
This commit is contained in:
parent
92c0c4c611
commit
3eebc6bc28
|
@ -47,7 +47,7 @@ class SeedDMS_View_Common {
|
|||
if(method_exists($this, $get['action'])) {
|
||||
$this->{$get['action']}();
|
||||
} else {
|
||||
echo "Missing action '".$get['action']."'";
|
||||
echo "Missing action '".htmlspecialchars($get['action'])."'";
|
||||
}
|
||||
} else
|
||||
$this->show();
|
||||
|
|
Loading…
Reference in New Issue
Block a user