summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-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;
}