Fix EZP-23480: Error in json response when uploading file
Merge pull request #1096 from joaoinacio/EZP-23480_ezajaxupload_error

Fix EZP-23480: Error in json response when uploading file