-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration for maximal JSON size in JMAP #5074
Comments
Opened playframework/play-json#984 It looks like we are going to need to add a safeguard at the HTTP level when receiving the post request! |
DODIn
And check that prior deserializing here: https://github.com/apache/james-project/blob/05b72736a07e51c0e83350cc918e2f71b00c785b/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/routes/JMAPApiRoutes.scala#L85 This could be done either by checking readable bytes or by using |
it will easily be done by config in api gateway |
Ok with me too. More on APISIX then. Please go ahead with a patch on tmail-backend helm chart. |
|
Reviewed. We IMO need 2 settings: one for uploads, one for everyting else... |
By default that is 20MB.
That's a LOT!
I would prefer seeing a smaller size eg 500KB
That's user input, we should definitly consider it as non-safe!
Let's make this configurable?
CF
Definition of done
The text was updated successfully, but these errors were encountered: