mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
fix xss attack in DefaultKeywords
This commit is contained in:
parent
a7212a0708
commit
6fc17be5d9
|
@ -9,6 +9,7 @@
|
|||
- various improvements for workflows
|
||||
- output splash message when removing, editing, adding a category or keyword
|
||||
- extensions cannot be disabled/enabled if configuration file is not writeable
|
||||
- prevent cross site scripting in views/bootstrap/class.DefaultKeywords.php
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.24
|
||||
|
|
|
@ -140,7 +140,7 @@ $(document).ready( function() {
|
|||
'element'=>'input',
|
||||
'type'=>'text',
|
||||
'name'=>'name',
|
||||
'value'=>$category->getName()
|
||||
'value'=>($category ? htmlspecialchars($category->getName()) : '')
|
||||
)
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
|
|
Loading…
Reference in New Issue
Block a user