mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
- call htmlspecialchars() before output
This commit is contained in:
parent
a027d7c962
commit
5cf50ab13e
|
@ -261,11 +261,11 @@ function _add_log_line($msg="") { /* {{{ */
|
|||
for ($i = 0; $i < count($path); $i++) {
|
||||
if ($i +1 < count($path)) {
|
||||
$txtpath .= "<a href=\"../out/out.ViewFolder.php?folderid=".$path[$i]->getID()."&showtree=".showtree()."\">".
|
||||
$path[$i]->getName()."</a> / ";
|
||||
htmlspecialchars($path[$i]->getName())."</a> / ";
|
||||
}
|
||||
else {
|
||||
$txtpath .= ($tagAll ? "<a href=\"../out/out.ViewFolder.php?folderid=".$path[$i]->getID()."&showtree=".showtree()."\">".
|
||||
$path[$i]->getName()."</a>" : $path[$i]->getName());
|
||||
htmlspecialchars($path[$i]->getName())."</a>" : htmlspecialchars($path[$i]->getName()));
|
||||
}
|
||||
}
|
||||
return $txtpath;
|
||||
|
|
Loading…
Reference in New Issue
Block a user