Issue #2221 resolved

redirect loop when username with uppercase letters mistyped in url (BB-1006)

tuukka
created an issue

E.g. https://bitbucket.org/Manfre/xpattern works

https://bitbucket.org/manfre/xpattern results in "The page isn't redirecting properly". Firefox/4.0b5pre

The latter should probably result in a 404 page.

Comments (7)

  1. James Sanderson

    Exact same issue here when accessing https://bitbucket.org/zofrex/testing/wiki/Home (correct capitalisation is ZoFreX). Confirmed in Chrome 10.0.648.18 dev and FireFox 3.6.13.

    Here are the relevant lines from the HTTP request (I can post the full logs if that would be helpful):

    GET /zofrex/testing/wiki/Home HTTP/1.1
    Host: bitbucket.org
    
    HTTP/1.1 302 FOUND
    Location: https://bitbucket.org/zofrex/testing/wiki/home
    

    Usernames are case-insensitive elsewhere (e.g. I can't register with "zofrex") so it should be safe to redirect to the correct case, I believe?

  2. Matthew Turk

    This happens for me as well - would be very nice to be able to have a case-sensitive redirect. Especially since things like username.bitbucket.org are lowercase in the browser window.

  3. Log in to comment