mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-30 14:13:38 +01:00
parent
9c80489ec6
commit
505d78a8e0
@ -74,7 +74,7 @@ DynMap.prototype = {
|
||||
formatUrl: function(name, options) {
|
||||
var url = this.options.url[name];
|
||||
$.each(options, function(n,v) {
|
||||
url = url.replace("{" + n + "}", v);
|
||||
url = url.replace("{" + n + "}", encodeURIComponent(v));
|
||||
});
|
||||
return url;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user