diff --git a/core/server/controllers/frontend.js b/core/server/controllers/frontend.js index 9d01fa4782..78a9db729b 100644 --- a/core/server/controllers/frontend.js +++ b/core/server/controllers/frontend.js @@ -317,6 +317,9 @@ frontendControllers = { function render() { // If we're ready to render the page but the last param is 'edit' then we'll send you to the edit page. + if (params.edit) { + params.edit = params.edit.toLowerCase(); + } if (params.edit === 'edit') { return res.redirect(config.paths.subdir + '/ghost/editor/' + post.id + '/'); } else if (params.edit !== undefined) {