Skip to content

Add `Gitlab::PathTraversal` and `Gitlab::Sequence`

Kamil Trzciński requested to merge rename-gitlab-utils into master

What does this MR do and why?

  • Add Gitlab::PathTraversal cut from Gitlab::Utils.check_path_traversal! and alike
  • Add Gitlab::Sequence cut from Gitlab::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.

Edited by Kamil Trzciński

Merge request reports