Skip to content

Gracefully ignore non-string search parameters

Stan Hu requested to merge sh-handle-array-search-param into master

What does this MR do and why?

This will help reduce some 500 errors when arrays are passed as a search parameter.

Relates to gitlab-com/gl-infra/production#7911 (closed)

How to set up and validate locally

Use the URL: http://gitlab.example.com/namespace/project/-/labels?subscribed=&search[]=test,hi

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 Stan Hu

Merge request reports

Loading