From 38b17c61576c6ef09b798f8731549ad2ee7e1138 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 5 Sep 2016 22:12:02 +0300 Subject: [PATCH] closes #5011 --- src/controllers/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/index.js b/src/controllers/index.js index f0927b1b07..6142c48240 100644 --- a/src/controllers/index.js +++ b/src/controllers/index.js @@ -318,9 +318,9 @@ Controllers.manifest = function(req, res) { }; Controllers.outgoing = function(req, res) { - var url = req.query.url; + var url = req.query.url || ''; var data = { - url: validator.escape(String(url)), + outgoing: validator.escape(String(url)), title: meta.config.title, breadcrumbs: helpers.buildBreadcrumbs([{text: '[[notifications:outgoing_link]]'}]) };