Prominent payload limit error and configurable URL length limit (#27747)
* Added context error handler for MaxBytesError * Made URL length limit configurable * Added tests * Removed an unused function * Typo
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a0a79b4575
Коммит
79480494d0
@@ -1785,6 +1785,10 @@
|
||||
"id": "api.context.remote_id_missing.app_error",
|
||||
"translation": "Secure connection ID missing."
|
||||
},
|
||||
{
|
||||
"id": "api.context.request_body_too_large.app_error",
|
||||
"translation": "Unable to process request. Request body too large."
|
||||
},
|
||||
{
|
||||
"id": "api.context.server_busy.app_error",
|
||||
"translation": "Server is busy, non-critical services are temporarily unavailable."
|
||||
@@ -8762,6 +8766,10 @@
|
||||
"id": "model.config.is_valid.max_payload_size.app_error",
|
||||
"translation": "Invalid max payload size for service settings. Must be a whole number greater than zero."
|
||||
},
|
||||
{
|
||||
"id": "model.config.is_valid.max_url_length.app_error",
|
||||
"translation": "Invalid max URL length for service settings. Must be a whole number greater than zero."
|
||||
},
|
||||
{
|
||||
"id": "model.config.is_valid.max_users.app_error",
|
||||
"translation": "Invalid maximum users per team for team settings. Must be a positive number."
|
||||
|
||||
Ссылка в новой задаче
Block a user