httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michel Stam <mic...@reverze.net>
Subject [users@httpd] mod_authz_dbd regression in apache 2.4.12?
Date Mon, 11 May 2015 20:54:16 GMT
Hello,

I was tinkering over the weekend with mod_authz_dbd and mysql, and i could not get a RequireAny/RequireAll
to match on multiple Require dbd-group statements. It would always match only the last result
from the query, but once for every row in the resultset.

Example:
        <LocationMatch "/(?<name>[^/]+)/">
                <RequireAny>
                        Require         user %{env:MATCH_NAME}
                        Require         dbd-group %{env:MATCH_NAME}
                        Require         dbd-group Administrators
                </RequireAny>
        </LocationMatch>

After some searching, it appeared to me to be a regression of this:
https://bz.apache.org/bugzilla/show_bug.cgi?id=46421

I’ve attached a patch (slightly modified from the original so that no warnings are generated
during build), would someone be able to verify if I did not introduce any segfault/memory
leak or anything?


Mime
View raw message