Commit 490482de authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: SECURITY Corrected methods of anonymous role for htpasswd legacy auth

parent 0f311a31
...@@ -940,7 +940,7 @@ static void _parse_mount_oldstyle_authentication(mount_proxy *mount, xmlNodePtr ...@@ -940,7 +940,7 @@ static void _parse_mount_oldstyle_authentication(mount_proxy *mount, xmlNodePtr
auth_release(auth); 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) { } 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! */ /* This block is super fun! Attention! Super fun ahead! Ladies and Gentlemans take care and watch your children! */
/* Stuff that was of help: /* Stuff that was of help:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment