Skip to content

Fix input parameter validation for tags controller

Vasilii Iakliushin requested to merge fix_validation_for_tags into master

What does this MR do and why?

Sentry error: https://sentry.gitlab.net/gitlab/gitlabcom/issues/3173566/

  • Use strong_parameters in TagsController
  • Convert sort and search parameters to strings

How to set up and validate locally

Following url in GDK should not return 500 error http://127.0.0.1:3000/flightjs/Flight/-/tags?search[test]=v1.1&sort[test]=name_asc

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