When commit messages contain redmine keywords like "refs" or "closes", the redmine plugin
detects the keywords correctly, but the links contain the anchor (#) - prepending the issue number,
therefore getting a 404 error in redmine.
A regular link to a redmine issue:
The link generated by the redmine plugin: