bug 3171 fixed: no need to double escape the file name from HTML5 upload

git-svn-id: http://piwigo.org/svn/trunk@30375 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2014-11-06 09:16:30 +00:00
parent 7cae40a94f
commit 1cc9155c74
+1 -1
View File
@@ -1349,7 +1349,7 @@ function ws_images_upload($params, $service)
$image_id = add_uploaded_file(
$filePath,
$params['name'],
stripslashes($params['name']), // function add_uploaded_file will secure before insert
$params['category'],
$params['level'],
null // image_id = not provided, this is a new photo