summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-07-10 16:30:17 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-07-10 16:30:17 +0000
commite1381c06b8d23a558a761f3359b203f264df0b9d (patch)
tree6d275ce4d7f943ffae7dd30616e3dcb2fe4bfe11 /usr.sbin/httpd
parentfaee96c925688d107f589335c6d6445ca57a1fba (diff)
chroot aware as well
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r--usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c b/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c
index f6d7c3e384b..6cae1f3533e 100644
--- a/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c
+++ b/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c
@@ -543,6 +543,7 @@ static const char *set_digest_file(cmd_parms *cmd, void *config,
const char *file)
{
((digest_config_rec *) config)->pwfile = file;
+ ap_server_strip_chroot(((digest_config_rec *) config)->pwfile, 1);
return NULL;
}
@@ -550,6 +551,7 @@ static const char *set_group_file(cmd_parms *cmd, void *config,
const char *file)
{
((digest_config_rec *) config)->grpfile = file;
+ ap_server_strip_chroot(((digest_config_rec *) config)->grpfile, 1);
return NULL;
}