summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-11-18 17:44:46 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-11-18 17:44:55 +0000
commit3bfc3dd45b7a90687d7459d151d48b2a6c94ecd6 (patch)
tree6b3b8388ba1d6c146cd94a3e56248daf02afa09d /synapse/rest
parentSYN-141: Decode the query params as UTF-8 (diff)
downloadsynapse-3bfc3dd45b7a90687d7459d151d48b2a6c94ecd6.tar.xz
Remember to URL decode the room_id in room initialSync
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/room.py b/synapse/rest/room.py
index 17322ee9bb..4f6d039b61 100644
--- a/synapse/rest/room.py
+++ b/synapse/rest/room.py
@@ -364,7 +364,7 @@ class RoomInitialSyncRestServlet(RestServlet):
         user = yield self.auth.get_user_by_req(request)
         pagination_config = PaginationConfig.from_request(request)
         content = yield self.handlers.message_handler.room_initial_sync(
-            room_id=room_id,
+            room_id=urllib.unquote(room_id),
             user_id=user.to_string(),
             pagin_config=pagination_config,
         )