Trac browser URL can not always be created by appending the Trac URL and the changed file path.
Sometimes the file path must be truncated (see JENKINS-7032), sometime the file path must be extended by a prefix.
Example for Truncate
The link will then point at:
But my Trac installation has its root at Product/Trunk/, so the only link that would work is:
Example for Prefix
Only the path to the file is included resulting in incorrect urls. So for example, I get this incorrect url:
instead of this correct url: