Node.js based forum software built for the modern web
fix: potential for XSS here
Andrew Rodrigues40f131a6bb1c
diff --git a/public/src/utils.js b/public/src/utils.jsindex dde7096914..60f27fed71 100644--- a/public/src/utils.js+++ b/public/src/utils.js@@ -691,6 +691,7 @@},urlToLocation: function (url) {+ url = encodeURI(url);return $('<a href="' + url + '" />')[0];},