diff options
Diffstat (limited to 'apps/files/js/file-upload.js')
-rw-r--r-- | apps/files/js/file-upload.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index d5470d0be55..e07093dd17b 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -474,9 +474,9 @@ OC.Upload = { } else { // HTTP connection problem var message = t('files', 'Error uploading file "{fileName}": {message}', { - fileName: data.files[0].name, + fileName: escapeHTML(data.files[0].name), message: data.errorThrown - }); + }, undefined, {escape: false}); OC.Notification.show(message, {timeout: 0, type: 'error'}); if (data.result) { var result = JSON.parse(data.result); |