Permalink
Browse files

debug for "Could not get the right redirect_to in HTTPS website"

  • Loading branch information...
hoamon committed Nov 20, 2011
1 parent 5770480 commit 8b6a19ddbad8b8f1a98952e828a66c3a3a3a6468
Showing with 1 addition and 1 deletion.
  1. +1 −1 openid_consumer/views.py
View
@@ -66,7 +66,7 @@ def begin(request, redirect_to=None, on_failure=None, user_url=None,
get_full_url(request).split('?')[0] + 'complete/'
)
# In case they were lazy...
- if (not
+ if not (
redirect_to.startswith('http://')
or
redirect_to.startswith('https://')):

0 comments on commit 8b6a19d

Please sign in to comment.