diff --git a/src/controllers/index.js b/src/controllers/index.js index 25e0b7f1ee..f08d696765 100644 --- a/src/controllers/index.js +++ b/src/controllers/index.js @@ -181,7 +181,7 @@ Controllers.robots = function (req, res) { Controllers.outgoing = function(req, res, next) { var url = req.query.url, data = { - url: url, + url: validator.escape(url), title: meta.config.title, breadcrumbs: helpers.buildBreadcrumbs([{text: '[[notifications:outgoing_link]]'}]) };