Do not encode the next kwarg twice
authorJoar Wandborg <joar@wandborg.se>
Sat, 2 Mar 2013 22:17:50 +0000 (23:17 +0100)
committerJoar Wandborg <joar@wandborg.se>
Sat, 2 Mar 2013 22:21:03 +0000 (23:21 +0100)
mediagoblin/decorators.py

index fbf7b1887c9a15c439a0748820165ab812a2b238..f3535fcf638c9c45073bb5081aab9cbc689a79b5 100644 (file)
@@ -43,7 +43,7 @@ def require_active_login(controller):
                     request.url)
 
             return redirect(request, 'mediagoblin.auth.login',
-                            next=url_quote(next_url))
+                            next=next_url)
 
         return controller(request, *args, **kwargs)