]> git.pld-linux.org Git - packages/subversion.git/blob - subversion-mod_dav_svn-fix-hook.patch
- up to 1.7.1
[packages/subversion.git] / subversion-mod_dav_svn-fix-hook.patch
1 --- subversion-1.7.0/subversion/mod_dav_svn/mod_dav_svn.c.orig  2011-08-19 19:15:15.000000000 +0200
2 +++ subversion-1.7.0/subversion/mod_dav_svn/mod_dav_svn.c       2011-10-19 21:27:58.273487075 +0200
3 @@ -902,6 +902,7 @@
4  /* Response handler for POST requests (protocol-v2 commits).  */
5  static int dav_svn__handler(request_rec *r)
6  {
7 + if (dav_svn__get_root_dir(r)) {
8    /* HTTP-defined Methods we handle */
9    r->allowed = 0
10      | (AP_METHOD_BIT << M_POST);
11 @@ -909,7 +910,7 @@
12    if (r->method_number == M_POST) {
13      return dav_svn__method_post(r);
14    }
15 -
16 + }
17    return DECLINED;
18  }
19  
This page took 0.024064 seconds and 3 git commands to generate.