Skip to content

Commit 5812c6c

Browse files
author
Till Brehm
committed
Merge branch 'webdav' into 'master'
Webdav AuthName fixed and tested in productive server See merge request !651
2 parents 8d45f6b + 5a3b3d0 commit 5812c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,7 @@ private function _patchVhostWebdav($fileName, $webdavRoot) {
27442744
$output .= "Dav On\n";
27452745
$output .= "BrowserMatch MSIE AuthDigestEnableQueryStringHack=On\n";
27462746
$output .= "AuthType Digest\n";
2747-
$output .= "AuthName \"Restricted Area\"\n";
2747+
$output .= 'AuthName "'.(empty($fn)?'/':$fn)."\"\n";
27482748
$output .= "AuthUserFile $webdavRoot/$file\n";
27492749
$output .= "Require valid-user\n";
27502750
$output .= "Options +Indexes\n";

0 commit comments

Comments
 (0)