************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! *****
************************************************************
Affected Version:
2.7, 2.9-rc1
What steps will reproduce the problem?
1. Add the following commentlink to project.config:
[commentlink "t3"]
match = "(BUG CR#(\\d+))"
link = "customproto://t3.host.com/$2"
2. Commit the project.config
3. Create change with log message containing text 'BUG CR#1234'
4. Browse to change screen
What is the expected output? What do you see instead?
I expect the change screen to replace 'BUG CR#1234' with a link to:
<a href="customproto://t3.host.com/1234">BUG CR#1234</a>
Changing 'customproto' to 'http' in the project.config file results in the expected behavior (except the URI protocol is not what is required for my application).
I see the same behavior on a production installation (Gerrit 2.7, via Collabnet TeamForge) and a personal, more up to date installation (Gerrit 2.9-rc1)