Skip to content

Commit

Permalink
fix encoding of URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
fjakobs committed Oct 5, 2010
1 parent 797e116 commit cca46cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DAV/property/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ exports.jsDAV_Property_Response = jsDAV_Property_Response;

dom += "<d:response>"
// Adding the baseurl to the beginning of the url
+ "<d:href>" + handler.server.getBaseUri() + escape(this.href) + "</d:href>";
+ "<d:href>" + encodeURI(handler.server.getBaseUri() + this.href) + "</d:href>";

// The properties variable is an array containing properties, grouped by
// HTTP status
Expand Down

0 comments on commit cca46cc

Please sign in to comment.