Add `Gitlab::PathTraversal` and `Gitlab::Sequence`
What does this MR do and why?
- Add
Gitlab::PathTraversal
cut fromGitlab::Utils.check_path_traversal!
and alike - Add
Gitlab::Sequence
cut fromGitlab::Utils.to_exclusive_sentence
The purpose of this change is to make Gitlab::Utils
to not be Gitlab Rails dependent.
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.
Edited by Kamil Trzciński (Back 2025-01-01)