Skip to content
  1. Nov 11, 2013
  2. Nov 09, 2013
  3. Nov 08, 2013
  4. Nov 06, 2013
  5. Nov 04, 2013
  6. Nov 01, 2013
  7. Oct 30, 2013
  8. Oct 28, 2013
  9. Oct 26, 2013
  10. Oct 25, 2013
  11. Oct 21, 2013
  12. Oct 20, 2013
  13. Oct 19, 2013
  14. Oct 18, 2013
    • Jim Jagielski's avatar
      Merge r1529559, r1531505 from trunk: · 484255f2
      Jim Jagielski authored
      Fix PR 55397: dav_resource->uri treated as an unparsed uri.
      
      The change made for PR 54611 caused this field to be treated as
      unescaped.  mod_dav_svn however, provided escaped URIs.  Essentially
      breaking support for paths with non-URI safe characters in SVN.
      
      Adjust the code so that dav_resource->uri is assumed to be escaped and
      adjust mod_dav_fs so that it uses escaped URIs in this field.
      
      * modules/dav/fs/repos.c
        (dav_fs_get_resource): Use the unparsed_uri to contruct the resource uri.
      
      * modules/dav/main/mod_dav.c
        (dav_xml_escape_uri): Do not uri escape, just handle xml escaping.
        (dav_created): Assume that locn if provided is escaped.
        (dav_method_copymove, dav_method_bind): Use the unparsed_uri on the request
          when calling dav_created() to adjust to locn assuming it is escaped.
      
      * modules/dav/main/mod_dav.h
        (dav_resource): Document that uri is escaped.
      
      
      Followup to r1529559: mod_dav_fs: Fix encoding of hrefs in PROPFIND response.
      
      Previous commit missed encoding the names of the children of the PROPFIND
      request when the depth wasn't 0.
      
      * modules/dav/fs/repos.c
        (dav_fs_append_uri): New function
        (dav_fs_walker): Use dav_fs_append_uri() and adjust length calculations to
          use the encoded length.
      
      
      Submitted by: breser
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1533448 13f79535-47bb-0310-9956-ffa450edef68
      484255f2
    • Jim Jagielski's avatar
      Merge r1528718 from trunk: · da9cdf04
      Jim Jagielski authored
      mod_dav: Fix PR 55306.
      
      Makes mod_dav no longer require that the lock token be provided when the
      source of a COPY is locked.  The prior behavior was in violating of
      RFC 4918 which says that the lock token is only required on resources
      that may be modified by the method.
      
      * modules/dav/main/mod_dav.h
        (DAV_VALIDATE_NO_MODIFY): New flag to be passed to dav_validate_* functions.
      
      * modules/dav/main/mod_dav.c
        (dav_method_copymove): Use the new flag when calling dav_validate_request()
          on the COPY source.
      
      * modules/dav/main/util.c
        (dav_validate_resource_state): Use the flag to decide to ignore if the lock
          token is not provided.
      
      Submitted by: breser
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1533447 13f79535-47bb-0310-9956-ffa450edef68
      da9cdf04
    • Jim Jagielski's avatar
      promote · 3445d9ed
      Jim Jagielski authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1533446 13f79535-47bb-0310-9956-ffa450edef68
      3445d9ed
    • Jim Jagielski's avatar
      votes · ad7d9fff
      Jim Jagielski authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1533445 13f79535-47bb-0310-9956-ffa450edef68
      ad7d9fff