Skip to content

Commit 937ed5a

Browse files
committed
Add remove_XSS() to folder creation process
1 parent f8fd7bc commit 937ed5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/ajax/document.ajax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
case 'document_destination':
7777
//obtained the bootstrap-select selected value via ajax
7878
$dirValue = isset($_POST['dirValue']) ? $_POST['dirValue'] : null;
79-
echo $dirValue;
79+
echo Security::remove_XSS($dirValue);
8080
break;
8181
}
8282
exit;

0 commit comments

Comments
 (0)