1. 17 Jun, 2007 2 commits
  2. 16 Jun, 2007 2 commits
    • Chris McDonough's avatar
      When attempting to unlock a resource with a token that the · ccc4a377
      Chris McDonough authored
      resource hasn't been locked with, we should return an error
      instead of a 20X response.  See
      http://lists.w3.org/Archives/Public/w3c-dist-auth/2001JanMar/0099.html
      for rationale.
      
      Prior to Zope 2.11, we returned a 204 under this circumstance.
      We choose do what mod_dav does, which is return a '400 Bad
      Request' error.
      
      This was caught by litmus locks.notowner_lock test #10.
      ccc4a377
    • Chris McDonough's avatar
      Tests 15 (propnullns) and 16 (propget) from the props suite · 0e9e7a53
      Chris McDonough authored
      of litmus version 10.5 (http://www.webdav.org/neon/litmus/)
      expose a bug in Zope propertysheet access via DAV.  If a
      proppatch command sets a property with a null xmlns,
      e.g. with a PROPPATCH body like:
      
      <?xml version="1.0" encoding="utf-8" ?>
      <propertyupdate xmlns="DAV:">
      <set>
      <prop>
       <nonamespace xmlns="">randomvalue</nonamespace>
      </prop>
      </set>
      </propertyupdate>
      
      When we set properties in the null namespace, Zope turns
      around and creates (or finds) a propertysheet with the
      xml_namespace of None and sets the value on it.  The
      response to a subsequent PROPFIND for the resource will fail
      because the XML generated by dav__propstat included a bogus
      namespace declaration (xmlns="None").
      
      Fixed by amending OFS.PropertySheets.dav__propstat.
      0e9e7a53
  3. 09 Jun, 2007 1 commit
  4. 05 Jun, 2007 1 commit
  5. 04 Jun, 2007 2 commits
  6. 03 Jun, 2007 1 commit
  7. 22 May, 2007 1 commit
  8. 11 May, 2007 1 commit
  9. 10 May, 2007 1 commit
  10. 07 May, 2007 1 commit
  11. 06 May, 2007 1 commit
  12. 04 May, 2007 2 commits
  13. 03 May, 2007 1 commit
  14. 30 Apr, 2007 1 commit
  15. 27 Apr, 2007 1 commit
  16. 24 Apr, 2007 1 commit
  17. 20 Apr, 2007 1 commit
  18. 13 Apr, 2007 1 commit
  19. 12 Apr, 2007 1 commit
  20. 09 Apr, 2007 1 commit
  21. 08 Apr, 2007 1 commit
  22. 05 Apr, 2007 2 commits
  23. 04 Apr, 2007 1 commit
  24. 03 Apr, 2007 2 commits
  25. 30 Mar, 2007 1 commit
  26. 27 Mar, 2007 4 commits
  27. 26 Mar, 2007 2 commits
  28. 24 Mar, 2007 1 commit
  29. 22 Mar, 2007 1 commit
  30. 21 Mar, 2007 1 commit