Skip to content

Commit

Permalink
Fix bug 58528 - Do not read .htaccess if override and overridelist ar…
Browse files Browse the repository at this point in the history
…e "None"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1737114 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
DRuggeri committed Mar 30, 2016
1 parent f396577 commit 3a91c80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,9 @@ AP_DECLARE(int) ap_directory_walk(request_rec *r)
/* No htaccess in an incomplete root path,
* nor if it's disabled
*/
if (seg < startseg || (!opts.override && opts.override_list == NULL)) {
if (seg < startseg || (!opts.override
&& apr_is_empty_table(opts.override_list)
)) {
break;
}

Expand Down

0 comments on commit 3a91c80

Please sign in to comment.