Commit 21fb7cb7 authored by Till Brehm's avatar Till Brehm

Fixed #4761 Webdav login is in a loop

parent e08dbbda
......@@ -2789,7 +2789,11 @@ class apache2_plugin {
$output .= " DAV On\n";
$output .= ' BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On'."\n";
$output .= " AuthType Digest\n";
if($fn != '' && $fn != '/') {
$output .= " AuthName \"" . $fn . "\"\n";
} else {
$output .= " AuthName \"Restricted Area\"\n";
}
$output .= " AuthUserFile " . $webdavRoot . '/' . $file . "\n";
$output .= " Require valid-user \n";
$output .= " Options +Indexes \n";
......
  • Hi, this might be a good temporary fix. However so far I researched this should be a little different. If possible I will work today on this 😄

  • I have checked it right now, when $fn='/', then AuthName should be / ... so I will continue checking the code for being sure, this is fixed in long term 😃

  • mentioned in merge request !651 (merged)

    Toggle commit list
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