X Tutup
Skip to content

new public webdav API does not obey LOCKS #36064

@individual-it

Description

@individual-it

Steps to reproduce

  1. lock a folder curl -X LOCK -u admin:admin http://localhost/owncloud-core/remote.php/webdav/public-folder -d "<?xml version='1.0' encoding='UTF-8'?><d:lockinfo xmlns:d='DAV:'> <d:lockscope><d:shared/></d:lockscope></d:lockinfo>"
  2. share this folder via public link
  3. upload new files or overwrite existing files in that folder via new public webdav API curl -X PUT http://localhost/owncloud-core/remote.php/dav/public-files/0M2kxLVbYuIOSPZ/12.txt -d "222"

Expected behaviour

upload does not work

Actual behaviour

files can be uploaded and overwritten

CC @DeepDiver1975

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup