fix: potential for XSS here

This commit is contained in:
Andrew Rodrigues
2019-09-26 14:00:01 -04:00
committed by GitHub
parent 7a0f607434
commit 40f131a6bb

View File

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