Inconsistent changeset hash links URIs (BB-8291)

KodeClan Enterprises avatarKodeClan Enterprises created an issue

I use Bitbucket with a custom domain to share with my clients.

Now, when i go to http://bitbucket.org/username/repo-name/issues and select an issue and click on any changeset hash, it works perfectly and takes me to the relevant commit

However, when I repeat this with http://my-domain/repo-name/issues it gives me a 404.

This is because the changeset now points to http://bitbucket.org, instead of http://my-domain, making the link http://bitbucket.org/repo-name/commits/hash instead of http://my-domain/repo-name/commits/hash or http://bitbucket.org/username/repo-name/commits/hash

Given these inconsistencies, I believe that these links are generated dynamically, hence fixable :smiley:

Comments (8)

  1. KodeClan Enterprises

    Update: when I go to http://my-domain/repo-name/commits/all, the commits in the commit column work perfectly, but on the same page, hashes displayed in "Added tag XXXXXXXX for changeset #########" give a 404

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.