webdav not support characters '['or '] ' in directory
It seems that the characters '['or ']'in parentheses are not supported in webdav
When I create the following four folders in the writable directory
test
[test
test]
a&b
Only two folders, 'test' and 'a&b', can be viewed, while the other two are not displayed in the list. However, when I remotely logged in to check the webdav device host, all four folders created exist.
i get this request
When I create the following four folders in the writable directory
test
[test
test]
a&b
Only two folders, 'test' and 'a&b', can be viewed, while the other two are not displayed in the list. However, when I remotely logged in to check the webdav device host, all four folders created exist.
root@HL : test# ls -alh
drwxr-xr-x 6 root root 4.0K Feb 25 23:36 .
drwxrwxrwx 7 transmis mstat 4.0K Feb 25 23:35 ..
drwxr-xr-x 2 root root 4.0K Feb 25 23:35 [test
drwxr-xr-x 2 root root 4.0K Feb 25 23:36 a&b
drwxr-xr-x 2 root root 4.0K Feb 25 23:35 test
drwxr-xr-x 2 root root 4.0K Feb 25 23:35 test]
root@HL : test#
i get this request
HTTP/1.1 207 Multi-Status
Server: nginx/1.19.9
Date: Tue, 25 Feb 2025 15:44:17 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 1948
Connection: close
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/download/transmission/test/</D:href>
<D:propstat>
<D:prop>
<D:displayname>test</D:displayname>
<D:getlastmodified>Tue, 25 Feb 2025 15:36:16 GMT</D:getlastmodified>
<D:resourcetype><D:collection/></D:resourcetype>
<D:lockdiscovery/>
<D:supportedlock>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/download/transmission/test/test/</D:href>
<D:propstat>
<D:prop>
<D:displayname>test</D:displayname>
<D:getlastmodified>Tue, 25 Feb 2025 15:35:19 GMT</D:getlastmodified>
<D:resourcetype><D:collection/></D:resourcetype>
<D:lockdiscovery/>
<D:supportedlock>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/download/transmission/test/test]/</D:href>
<D:propstat>
<D:prop>
<D:displayname>test]</D:displayname>
<D:getlastmodified>Tue, 25 Feb 2025 15:35:33 GMT</D:getlastmodified>
<D:resourcetype><D:collection/></D:resourcetype>
<D:lockdiscovery/>
<D:supportedlock>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/download/transmission/test/a&b/</D:href>
<D:propstat>
<D:prop>
<D:displayname>a&b</D:displayname>
<D:getlastmodified>Tue, 25 Feb 2025 15:36:16 GMT</D:getlastmodified>
<D:resourcetype><D:collection/></D:resourcetype>
<D:lockdiscovery/>
<D:supportedlock>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/download/transmission/test/[test/</D:href>
<D:propstat>
<D:prop>
<D:displayname>[test</D:displayname>
<D:getlastmodified>Tue, 25 Feb 2025 15:35:25 GMT</D:getlastmodified>
<D:resourcetype><D:collection/></D:resourcetype>
<D:lockdiscovery/>
<D:supportedlock>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>