CC-4897: XSS exploit on library page

This commit is contained in:
denise 2013-02-04 12:44:14 -05:00
parent 20a3f674b4
commit b45f71e8f9
2 changed files with 2 additions and 1 deletions

View file

@ -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;