diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/create_listing_file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/create_listing_file.php b/tools/create_listing_file.php index 593cd8073..fb3786f11 100644 --- a/tools/create_listing_file.php +++ b/tools/create_listing_file.php @@ -460,7 +460,7 @@ function get_pictures($dir, $indent) { foreach (array_keys($iptc) as $key) { - $element[$key] = addslashes($iptc[$key]); + $element[$key] = $iptc[$key]; } } } @@ -540,7 +540,7 @@ switch ($page['action']) $listing = '<informations'; $listing.= ' generation_date="'.date('Y-m-d').'"'; - $listing.= ' phpwg_version="'.$conf{'version'}.'"'; + $listing.= ' phpwg_version="'.htmlentities($conf{'version'}).'"'; $attrs=array(); if ($conf['use_iptc']) |