From 490482deafd04bfc13a7b7f7d6973f346ca97c50 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Mon, 29 Dec 2014 09:48:00 +0000 Subject: [PATCH] Fix: SECURITY Corrected methods of anonymous role for htpasswd legacy auth --- src/cfgfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfgfile.c b/src/cfgfile.c index 5f6703fb..dff53898 100644 --- a/src/cfgfile.c +++ b/src/cfgfile.c @@ -940,7 +940,7 @@ static void _parse_mount_oldstyle_authentication(mount_proxy *mount, xmlNodePtr auth_release(auth); } - __append_old_style_auth(authstack, NULL, AUTH_TYPE_ANONYMOUS, NULL, NULL, "source,put", NULL, 0, NULL); + __append_old_style_auth(authstack, NULL, AUTH_TYPE_ANONYMOUS, NULL, NULL, "get,head,post", NULL, 0, NULL); } else if (strcmp(type, AUTH_TYPE_URL) == 0) { /* This block is super fun! Attention! Super fun ahead! Ladies and Gentlemans take care and watch your children! */ /* Stuff that was of help: