mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
api: Fix encoding of strings in realm endpoint.
* Don't require strings to be unnecessarily JSON-encoded. * Use check_capped_string rather than custom code for length checks. * Update frontend to pass the right parameters. With a much simplified populate_data_for_request design suggested by Anders; we only support a handful of data types, all of which are correctly encoded automatically by jQuery. Fixes part of #18035.
This commit is contained in:
@@ -30,7 +30,7 @@ DESKTOP_WARNING_VERSION = "5.2.0"
|
||||
#
|
||||
# Changes should be accompanied by documentation explaining what the
|
||||
# new level means in templates/zerver/api/changelog.md.
|
||||
API_FEATURE_LEVEL = 51
|
||||
API_FEATURE_LEVEL = 52
|
||||
|
||||
# Bump the minor PROVISION_VERSION to indicate that folks should provision
|
||||
# only when going from an old version of the code to a newer version. Bump
|
||||
|
Reference in New Issue
Block a user