fix(api_spec): drop every unexpected query param in permissive mode
Ported from Akkoma 7e6efb235. Co-authored-by: Oneric <oneric@oneric.stub>
This commit is contained in:
parent
88a9562a9b
commit
d601a94c69
3 changed files with 66 additions and 23 deletions
1
changelog.d/cast-and-validate-many-params.fix
Normal file
1
changelog.d/cast-and-validate-many-params.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Drop all unexpected query params, not just the first one, when `Pleroma.Web.ApiSpec.CastAndValidate` `strict` is off
|
||||
Loading…
Add table
Add a link
Reference in a new issue