You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/DeletedAttachments.xml
+4-4
Original file line number
Diff line number
Diff line change
@@ -333,13 +333,13 @@ if (typeof XWiki.index.trash.attachments == "undefined") {
333
333
*/
334
334
XWiki.index.trash.attachments.displayEntry = function (row, i, table) {
335
335
var tr = new Element('tr'); // The resulting table row
336
-
var file = new Element('a', {'href' : row.url}).update(row.filename);
336
+
var file = new Element('a', {'href' : row.url}).update((row.filename || '').escapeHTML());
337
337
tr.appendChild(new Element('td').update(file));
338
-
var doc = new Element('a', {'href' : row.documentUrl}).update(row.title);
338
+
var doc = new Element('a', {'href' : row.documentUrl}).update((row.title || '').escapeHTML());
0 commit comments