Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066193
D7489.id27186.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1006 B
Subscribers
None
D7489.id27186.diff
View Options
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1,3 +1,4 @@
+Anirudh Lakhotia
Daniele Serafini
Ishan Bhanuka
Kalpit Kothari
diff --git a/assets/src/bundles/add_forge/create-request.js b/assets/src/bundles/add_forge/create-request.js
--- a/assets/src/bundles/add_forge/create-request.js
+++ b/assets/src/bundles/add_forge/create-request.js
@@ -121,10 +121,14 @@
name: 'forge_url',
render: function(data, type, row) {
if (type === 'display') {
- return `<a href="${data}">${data}</a>`;
+ let html = '';
+ const sanitizedURL = $.fn.dataTable.render.text().display(data);
+ html += sanitizedURL;
+ html += ` <a href="${sanitizedURL}" target="_blank" rel="noopener noreferrer">` +
+ '<i class="mdi mdi-open-in-new" aria-hidden="true"></i></a>';
+ return html;
}
return data;
-
}
},
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 5 2024, 12:24 AM (11 w, 18 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3226689
Attached To
D7489: added hyperlinks to URLs in Browse Requests tab
Event Timeline
Log In to Comment