Skip to content

Commit

Permalink
propfind: Ensure the default namespace for a multistatus is always DAV:
Browse files Browse the repository at this point in the history
  • Loading branch information
inferiorhumanorgans committed Apr 6, 2012
1 parent d6bff33 commit 39cfc00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/dav4rack/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,9 @@ def propstats(xml, stats)
x.parent.namespace = nil if _ns.nil?
end
end

# This is gross, but make sure we set the current namespace back to DAV:
xml['D']
end
end
xml.status "#{http_version} #{status.status_line}"
Expand Down

0 comments on commit 39cfc00

Please sign in to comment.