mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 13:54:58 -04:00
URL encoding bugfix and add more tests.
This commit is contained in:
parent
a70765ed90
commit
4facbe02fb
2 changed files with 41 additions and 7 deletions
|
@ -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);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue