From 0dacf1019d70ec3a64adb6b9c94f7dfe008c2962 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 24 Feb 2015 10:40:07 -0600 Subject: [PATCH] Fix double encoding --- templates/nav.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nav.jade b/templates/nav.jade index 7bad7c47..e8510ddc 100644 --- a/templates/nav.jade +++ b/templates/nav.jade @@ -48,7 +48,7 @@ mixin navloginform(redirect) .visible-lg form#loginform.navbar-form.navbar-right(action="#{loginDomain}/login", method="post") input(type="hidden", name="_csrf", value=csrfToken) - input(type="hidden", name="dest", value=encodeURIComponent(redirect)) + input(type="hidden", name="dest", value=redirect) .form-group input#username.form-control(type="text", name="name", placeholder="Username") .form-group