From 03bb52f4c1ac22367b9a4f30604950c6666f5fd4 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sun, 21 Aug 2011 02:23:53 +0200 Subject: [PATCH] Do not loop-redirect on authenticate. --- budget/web.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/budget/web.py b/budget/web.py index fdb33a9..e0bd60e 100644 --- a/budget/web.py +++ b/budget/web.py @@ -32,6 +32,8 @@ def add_project_id(endpoint, values): @app.url_value_preprocessor def pull_project(endpoint, values): + if endpoint == "authenticate": + return if not values: values = {} project_id = values.pop('project_id', None)