mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-30 18:37:12 +00:00
Use htmlspecialchars rather than htmlentities.
This commit is contained in:
parent
87816b2a05
commit
a7316a1135
@ -106,7 +106,7 @@ class Tools {
|
||||
}
|
||||
$dir = $_POST["directory_path"];
|
||||
if(!is_readable($dir)){
|
||||
$c->messages[] = sprintf(i18n('directory %s is not readable'),htmlentities($dir));
|
||||
$c->messages[] = sprintf(i18n('directory %s is not readable'),htmlspecialchars($dir));
|
||||
dbg_error_log( "importFromDirectory", "directory is not readable");
|
||||
return ;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user