mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 17:23:55 +00:00
URL encoding bugfix and add more tests.
This commit is contained in:
1 parent
a70765ed90
commit
4facbe02fb
2 files changed
+41
-7
No files matched your search
@@ -267,7 +267,7 @@ angular.module('matrixService', [])
|
||||
|
||||
// get room state for a specific room
|
||||
roomState: function(room_id) {
|
||||
var path = "/rooms/" + room_id + "/state";
|
||||
var path = "/rooms/" + encodeURIComponent(room_id) + "/state";
|
||||
return doRequest("GET", path);
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user