mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Merge pull request #3757 from leon0399/leon0399-patch-1
fix: support special symbols in world names
This commit is contained in:
commit
374309e004
@ -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