Use strong parameters for CompareController
What does this MR do and why?
- Contributes to #351520 (closed)
- Sentry error: https://sentry.gitlab.net/gitlab/gitlabcom/issues/3154415
How to set up and validate locally
- http://127.0.0.1:3000/flightjs/Flight/-/compare?from[test]=test
- Try to compare different branches with incorrect parameters: http://127.0.0.1:3000/flightjs/Flight/-/compare
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.