diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-12-04 10:51:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 10:51:56 -0500 |
commit | b774c555d821170e4f16de7d48f01484c3a1d740 (patch) | |
tree | 5e111a35806ba3403c372cb65d8b737a93d06011 /tests/rest/admin/test_user.py | |
parent | Do not 500 if the content-length is not provided when uploading media. (#8862) (diff) | |
download | synapse-b774c555d821170e4f16de7d48f01484c3a1d740.tar.xz |
Add additional validation to pusher URLs. (#8865)
Pusher URLs now must end in `/_matrix/push/v1/notify` per the specification.
Diffstat (limited to 'tests/rest/admin/test_user.py')
-rw-r--r-- | tests/rest/admin/test_user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/admin/test_user.py b/tests/rest/admin/test_user.py index 54d46f4bd3..35c546aa69 100644 --- a/tests/rest/admin/test_user.py +++ b/tests/rest/admin/test_user.py @@ -1256,7 +1256,7 @@ class PushersRestTestCase(unittest.HomeserverTestCase): device_display_name="pushy push", pushkey="a@example.com", lang=None, - data={"url": "example.com"}, + data={"url": "https://example.com/_matrix/push/v1/notify"}, ) ) |