Skip to content
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

Fix conversion of numbers into strings #733

Merged
merged 1 commit into from
Oct 28, 2019
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Oct 25, 2019

Wrap numbers in JSON bodies

This should help avoid the idiocy where logging the body of a federation
request turns the numbers into strings (which then screws up their later
use in other JSON-encoded things).

This should help avoid the idiocy where logging the body of a federation
request turns the numbers into strings (which then screws up their later use in
other JSON-encoded things).
@richvdh richvdh requested a review from a team October 25, 2019 17:10
@richvdh
Copy link
Member Author

richvdh commented Oct 25, 2019

Note that this replicates the behaviour of do_request_json etc, where it seems to work well.

@richvdh richvdh merged commit fc7cf56 into develop Oct 28, 2019
anoadragon453 added a commit that referenced this pull request Mar 18, 2020
…ase-v1.6.x

* origin/release-v1.6.1: (32 commits)
  Move scripts which aren't in docker out of `docker` (#752)
  README.md: don't forget to update dendrite:latest
  fix another results.tap
  Fix path to results.tap for dendrite build
  remove redundant (and failing) tap-to-junit
  Don't modify source volumes when running in docker (#748)
  Fix a flaky cross-signing test (#749)
  Add tests for 3PID registration (#695)
  Update the SyTest Docker files (#744)
  rejected state test (#742)
  Add test for rooms transferring on groups after room upgrade (#737)
  test pushes of rejected events (#738)
  Tests for room tags and push rules after upgrading a remote room (#721)
  Test that a room is depublished from the public rooms list upon room upgrade (#729)
  Review comments
  Tests for signatures and auth on /send_join etc (#734)
  Wrap in retry loop as room dir is updated async
  Tests room dir search
  Wrap numbers in JSON bodies (#733)
  Add frontend proxy worker
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants