diff options
Diffstat (limited to 'apps/files/js/file-upload.js')
-rw-r--r-- | apps/files/js/file-upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index a67a3598820..c8b3a150caa 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -579,7 +579,7 @@ OC.Upload = { input.val(newName); input.attr('id', fileType); } - var label = $('<label class="hidden-visually" for="">' + newName + '</label>'); + var label = $('<label class="hidden-visually" for="">' + escapeHTML(newName) + '</label>'); label.attr('for', fileType); form.append(label).append(input); |