diff --git a/core/server/apps/private-blogging/lib/middleware.js b/core/server/apps/private-blogging/lib/middleware.js index 91d41b0314..e66db8171a 100644 --- a/core/server/apps/private-blogging/lib/middleware.js +++ b/core/server/apps/private-blogging/lib/middleware.js @@ -99,7 +99,7 @@ const privateBlogging = { return next(); } else { url = urlService.utils.urlFor({relativeUrl: privateRoute}); - url += req.url === '/' ? '' : '?r=' + encodeURIComponent(req.url); + url += '?r=' + encodeURIComponent(req.url); return res.redirect(url); } },