We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5331744 + 51602ae commit a59c89eCopy full SHA for a59c89e
apps/dav/appinfo/v2/publicremote.php
@@ -77,7 +77,7 @@
77
78
// Define root url with /public.php/dav/files/TOKEN
79
/** @var string $baseuri defined in public.php */
80
-preg_match('/(^files\/\w+)/i', substr($requestUri, strlen($baseuri)), $match);
+preg_match('/(^files\/[a-z0-9-]+)/i', substr($requestUri, strlen($baseuri)), $match);
81
$baseuri = $baseuri . $match[0];
82
83
$server = $serverFactory->createServer($baseuri, $requestUri, $authPlugin, function (\Sabre\DAV\Server $server) use ($authBackend, $linkCheckPlugin, $filesDropPlugin) {
0 commit comments