Skip to content

Commit cf84be1

Browse files
committed
Documents: Add remove_XSS
1 parent d3ef463 commit cf84be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/document/document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ function convertModal (id, format) {
19951995
);
19961996

19971997
// Document title with link and comment
1998-
$titleWithLink = $link.$session_img.'<br />'.$invisibility_span_open;
1998+
$titleWithLink = Security::remove_XSS($link.$session_img.'<br />'.$invisibility_span_open);
19991999
$commentText = nl2br(htmlspecialchars($document_data['comment'], ENT_QUOTES, $charset));
20002000
if (!empty($commentText)) {
20012001
$titleWithLink .= '<em>'.$commentText.'</em>';

0 commit comments

Comments
 (0)