mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user