Browse Source

Do not strip spaced in room path parts.

pull/195/head
Simon Eisenmann 10 years ago
parent
commit
22c1e889cc
  1. 4
      static/js/services/resturl.js

4
static/js/services/resturl.js

@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
*/
"use strict";
define(["underscore", "jquery"], function(_, $) {
define(["underscore"], function(_) {
// restURL
return ["globalContext", "$window", function(context, $window) {
@ -49,8 +49,6 @@ define(["underscore", "jquery"], function(_, $) { @@ -49,8 +49,6 @@ define(["underscore", "jquery"], function(_, $) {
// Skip empty parts, effectly stripping spurious slashes.
return;
}
// Trim parts. removing white space from start and end.
p = $.trim(p);
nn.push(p);
// URL encode.
p = $window.encodeURIComponent(p);

Loading…
Cancel
Save