diff --git a/APIBlueprintGenerator.coffee b/APIBlueprintGenerator.coffee index 5b61295..5575dce 100644 --- a/APIBlueprintGenerator.coffee +++ b/APIBlueprintGenerator.coffee @@ -99,7 +99,7 @@ APIBlueprintGenerator = -> if !path path = '/' - path + unescape(path) @generate = (context) -> paw_request = context.getCurrentRequest() diff --git a/APIBlueprintGenerator.js b/APIBlueprintGenerator.js index f955668..91b8fc4 100644 --- a/APIBlueprintGenerator.js +++ b/APIBlueprintGenerator.js @@ -91,7 +91,7 @@ if (!path) { path = '/'; } - return path; + return unescape(path); }; this.generate = function(context) { var paw_request, template, url;