fix: potential for XSS here

v1.18.x
Andrew Rodrigues 5 years ago committed by GitHub
parent 7a0f607434
commit 40f131a6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -691,6 +691,7 @@
},
urlToLocation: function (url) {
url = encodeURI(url);
return $('<a href="' + url + '" />')[0];
},

Loading…
Cancel
Save