Commits

Anonymous committed 42557f2

[svn r89] fix issue #38

Comments (0)

Files changed (1)

django_authopenid/views.py

         del request.session['openid']
     except KeyError:
         pass
-    next = request.GET.get('next', '/')
-    if not is_valid_next_url(next):
-        next = '/'
-
+    next = clean_next(next)
     logout(request)
     
     return HttpResponseRedirect(next)