cs3org / reva

WebDAV/gRPC/HTTP high performance server to link high level clients to storage backends
https://reva.link
Apache License 2.0
165 stars 113 forks source link

disallow reserved names #4740

Closed butonic closed 13 hours ago

butonic commented 1 week ago

We now disallow the reserved .. and . filenames. They are only allowed as destinations of move or copy operations.

supersedes https://github.com/cs3org/reva/pull/4721 refs https://github.com/owncloud/ocis/issues/1002

saw-jan commented 1 week ago
      | dav-path-version | file-name | http-status-code |
      | old              | /.        | 500              |
        Failed step: Then the HTTP status code should be "500"
        HTTP status code 400 is not the expected value 500
        Failed asserting that 400 matches expected '500'.

need test adjustment in ocis. and for that we need this to be merged first and then reva bump in ocis