CC-4897: XSS exploit on library page
This commit is contained in:
parent
20a3f674b4
commit
b45f71e8f9
2 changed files with 2 additions and 1 deletions
|
@ -269,7 +269,7 @@ class Application_Model_StoredFile
|
|||
$md = array();
|
||||
foreach ($this->_dbMD as $dbColumn => $propelColumn) {
|
||||
$method = "get$propelColumn";
|
||||
$md[$dbColumn] = htmlspecialchars($this->_file->$method());
|
||||
$md[$dbColumn] = $this->_file->$method();
|
||||
}
|
||||
|
||||
return $md;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue