diff options
author | David Baker <dave@matrix.org> | 2015-04-24 14:48:49 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-04-24 14:48:49 +0100 |
commit | 1bac74b9aea46f9e46152955ecf06d8cc7eacdd3 (patch) | |
tree | 59ec392559c3825ace68e31cf8203717b3597e8a /synapse/handlers/identity.py | |
parent | More underscores (diff) | |
download | synapse-1bac74b9aea46f9e46152955ecf06d8cc7eacdd3.tar.xz |
Change to https for ID server communication
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/identity.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py index 3ddd834c61..ad8246b58c 100644 --- a/synapse/handlers/identity.py +++ b/synapse/handlers/identity.py @@ -52,7 +52,7 @@ class IdentityHandler(BaseHandler): data = {} try: data = yield http_client.get_json( - "http://%s%s" % ( + "https://%s%s" % ( creds['id_server'], "/_matrix/identity/api/v1/3pid/getValidated3pid" ), @@ -73,8 +73,7 @@ class IdentityHandler(BaseHandler): data = None try: data = yield http_client.post_urlencoded_get_json( - # XXX: Change when ID servers are all HTTPS - "http://%s%s" % ( + "https://%s%s" % ( creds['id_server'], "/_matrix/identity/api/v1/3pid/bind" ), { |