diff options
Diffstat (limited to '')
-rw-r--r-- | include/config_default.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php index 4372e61fe..9f812450b 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -374,6 +374,11 @@ $conf['use_exif_mapping'] = array( 'date_creation' => 'DateTimeOriginal' ); +// allow_html_in_metadata: in case the origin of the photo is unsecure (user +// upload), we remove HTML tags to avoid XSS (malicious execution of +// javascript) +$conf['allow_html_in_metadata'] = false; + // +-----------------------------------------------------------------------+ // | sessions | // +-----------------------------------------------------------------------+ |