diff --git a/modules/web/api.js b/modules/web/api.js index a5b8262..168502f 100644 --- a/modules/web/api.js +++ b/modules/web/api.js @@ -4,7 +4,7 @@ var api = function(dbot) { return { 'getUrl': function(path) { if(path.charAt(0) == '/') path = path.substr(1); - path = encodeURIComponent(path); + path = encodeURI(path); if(this.config.externalPath) { return this.config.externalPath + '/' + path; } else {