summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-24 14:48:49 +0100
committerDavid Baker <dave@matrix.org>2015-04-24 14:48:49 +0100
commit1bac74b9aea46f9e46152955ecf06d8cc7eacdd3 (patch)
tree59ec392559c3825ace68e31cf8203717b3597e8a /synapse/handlers
parentMore underscores (diff)
downloadsynapse-1bac74b9aea46f9e46152955ecf06d8cc7eacdd3.tar.xz
Change to https for ID server communication
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/identity.py5
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"
                 ),
                 {