Fix issue #1949: mod_authz_svn: a writer can circumvent unreadable subtrees.
Fix issue #1949: mod_authz_svn: a writer can circumvent unreadable subtrees.

* subversion/mod_authz_svn/mod_authz_svn.c

  (parse_authz_baton): Renamed from parse_authz_line_baton, and expanded
    to be able to be used for parsing sections aswell.
       
  (sections_matching_prefix_baton, find_sections_matching_prefix,
   check_access_subtree): Removed.
     
  (parse_authz_line, parse_authz_lines): Update to use new baton name.

  (parse_authz_section): New function to determine whether access to a
    certain section/path is allowed.

  (parse_authz_sections): New function.  Visits all sections until a
    section is encountered that restricts access given a user/path
    combination.

  (check_access): Update to use parse_authz_sections, if required.

  (req_check_access): Update access requirements per HTTP method.
    Specifically adds the requirement of checking subtrees to the mix.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@850290 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion