Update security policies to use custom slugify
What does this MR do and why?
Describe in detail what your merge request does and why.
Update security policies to use custom slugify
- branches should be allowed to have an asterisk as a wildcard
- update method to not remove it from branches
- introduced originally in Update branch slugifying to allow special chars (!97735 - merged), but a refactor didn't use it
Changelog: changed
EE: true
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.
- Navigate to http://gdk.test:3443/flightjs/Flight/-/security/policies/new?type=scan_execution_policy
- Add a branch with a special character in it
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #384049 (closed)