Harden issue/work_item URL regex
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
This MR hardens the regular expression used to match issue and work item URLs.
This change improves correctness and security by ensuring only valid GitLab issue/work item links from trusted namespaces are matched.
Harden issue/work_item URL regex
/cc @dmeister93
Issue #227 (closed)
Edited by 🤖 GitLab Bot 🤖