mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-08 21:30:07 -06:00
Merge pull request #8675 from owncloud/add-propfind-on-resource-containing-brackets
[full-ci] [tests-only] sharee PROPFINDs on resource containing brackets
This commit is contained in:
@@ -88,3 +88,35 @@ Feature: propfind a shares
|
||||
| old | folderToShare | folderToShare (1) |
|
||||
| new | textfile.txt | textfile (1).txt |
|
||||
| new | folderToShare | folderToShare (1) |
|
||||
|
||||
@issue-4421
|
||||
Scenario: sharee PROPFIND shares with bracket in the name
|
||||
Given using spaces DAV path
|
||||
And user "Alice" has created folder "folderToShare"
|
||||
And user "Alice" has uploaded file with content "to share" to "folderToShare/textfile.txt"
|
||||
And user "Carol" has created folder "folderToShare"
|
||||
And user "Carol" has uploaded file with content "to share" to "folderToShare/textfile.txt"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
| resource | folderToShare |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
And user "Carol" has sent the following share invitation:
|
||||
| resource | folderToShare |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Brian" sends PROPFIND request from the space "Shares" to the resource "folderToShare (1)" using the WebDAV API
|
||||
Then the HTTP status code should be "207"
|
||||
And the "PROPFIND" response to user "Brian" should contain a mountpoint "folderToShare (1)" with these key and value pairs:
|
||||
| key | value |
|
||||
| oc:fileid | UUIDof:folderToShare (1) |
|
||||
| oc:name | folderToShare |
|
||||
| oc:permissions | SR |
|
||||
And the "PROPFIND" response to user "Brian" should contain a mountpoint "folderToShare (1)" with these key and value pairs:
|
||||
| key | value |
|
||||
| oc:fileid | UUIDof:textfile.txt |
|
||||
| oc:name | textfile.txt |
|
||||
| oc:permissions | SR |
|
||||
|
||||
Reference in New Issue
Block a user