Skip to content

Bug fix: SearchFilesByName errors when starting with a dash

Sladyn Nunes requested to merge sladyn98/gitlab:bug-fix-searchfiles into master

What does this MR do and why?

This MR adds dashes to the safequery regex expression so that it replaces dashes at the start of a repository name with an empty string to avoid erroring out.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

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

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports