URL encoding bugfix and add more tests.

This commit is contained in:
Kegan Dougal committed 2014-11-04 17:48:47 +00:00
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);
},