Issue #782 duplicate

Incorrect redirection when following from Anonymous or non-AJAX request

Bruno Renié
created an issue

When I'm not logged in and I want to follow a repository, I'm redirected to a login page:

http://bitbucket.org/account/signin/?next=/gregnewman/django-loupe/follow/

When I validate the login form, it doesn't redirect to the project's page but does lots of follow/unfollow requests. The behaviour is the same when going to:

http://bitbucket.org/gregnewman/django-loupe/follow/

as a logged in user.

See the attached picture, I have quite a lot of messages :)

Comments (4)

  1. Craig McQueen

    This exact issue just happened to me. I was looking at: http://bitbucket.org/effbot/pil-2009-raclette/changesets/ and I clicked "follow" while I wasn't logged on. I entered my OpenID URL, it didn't need to get my password because my OpenID provider found a cookie. bitbucket went into an endless loop of follow/stop following, until Firefox 3.5 said it had detected unending redirections. Then I clicked "Try again" in FF and it was okay from there.

  2. Log in to comment