Skip to content

Limit filename size to GitGuardian API

Patrick Cyiza requested to merge 442188-limit-filename-size-in-gitguardian into master

What does this MR do and why?

In Gitlab::GitGuardian::Client

  • Makes a class constant FILENAME_LIMIT
  • Makes a private method limit_filename to shorten the string from the start of the string because we need the file extension for policies.

For more context: &11494 (comment 1772665324)

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #442188 (closed)

Merge request reports