Issues created from vulnerabilities are relative
When creating an issue from a vulnerability, the link to the file is invalid.
Steps to reproduce
- Browse security dashboard (for ex)
- Choose a vulnerability
- Create an issue from it
- Use the link to the affected file
What is the current bug behavior?
Link is relative. So it's working from gitlab.com, but not from email notifications for example:
What is the expected correct behavior?
- link is a valid URL
- link should also contain the hash of the pipeline it ran on, if possible:
https://gitlab.com/gitlab-org/security-products/tests/sast/blob/7dadc3c1/sbt/src/main/scala/example/Main.scala#L12 //over https://gitlab.com/gitlab-org/security-products/tests/sast/blob/master/sbt/src/main/scala/example/Main.scala#L12
(If you can, link to the line of code that might be responsible for the problem)