Avoid linking CVEs as Jira tickets
What does this MR do and why?
If you ever refer to a CVE in an MR title (e.g. CVE-2024-34750), it turns the first part of it ("CVE-2024", in this case) into a Jira link, which is incorrect.
Even if the user's Jira does have a project called "CVE", it would still be incorrect to create a Jira link from the first part of CVE-2024-34750.
Related to #18179
Update 2 files
- /lib/gitlab/regex.rb
- /spec/models/integrations/jira_spec.rb
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Francis Potter (GitLab)