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