Skip to content

Commit

Permalink
Revert modification since #collection? may not be known.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisroberts committed Apr 4, 2012
1 parent b1acdd7 commit 5c33b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dav4rack/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def multistatus(&block)
def response_errors(xml, errors)
for path, status in errors
xml.response do
xml.href "#{scheme}://#{host}:#{port}#{url_format(path)}"
xml.href "#{scheme}://#{host}:#{port}#{URI.escape(path)}"
xml.status "#{http_version} #{status.status_line}"
end
end
Expand Down

0 comments on commit 5c33b00

Please sign in to comment.