Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-8653

Add account for remote repo where usernames have '@' character

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 2.5.5
    • REST
    • Severity 2 - Major

    Description

      Prior to experiencing this issue, install sourcetree using Bitbucket cloud credentials.

      When Jira is set to use our AD user principle name, which is our email address (of the format firstname.lastname@pncc.govt.nz):

      The response message in the Edit Hosting Account dialog indicates it is hitting the rest api for http://bitbucket.pncc.govt.nz:7990/rest/api/1.0/users/firstname.lastname%40pncc.govt.nz, but the url that works is the one using the slug, which is http://bitbucket.pncc.govt.nz:7990/rest/api/1.0/users/firstname.lastname_pncc.govt.nz - but if I use the slug (firstname.lastname_pncc.govt.nz) as the username in the dialog, I get an "unauthorized" error. This fault affects all users, not just myself.

       

      When we change Jira to use a different property in AD to authenticate against, eg any one without an "@" in it such as the samaccountname, and attempt the same action, the result is as expected - we get to see the list of remote repos.

       

      In either case, if we browse to a repo page on our Bitbucket server and click Clone, sourcetree will work as expected.

       

      Initially logged on the product questions board, here.

      Attachments

        Activity

          People

            Unassigned Unassigned
            3a0ecd98dcf6 markbellhouse
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: