{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16825","labels_url":"https://api.github.com/repos/owncloud/core/issues/16825/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16825/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16825/events","html_url":"https://github.com/owncloud/core/issues/16825","id":86530366,"number":16825,"title":"Renaming folders in webdav interface using backslash coded doesn't return proper error.","user":{"login":"SergioBertolinSG","id":9048796,"avatar_url":"https://avatars.githubusercontent.com/u/9048796?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioBertolinSG","html_url":"https://github.com/SergioBertolinSG","followers_url":"https://api.github.com/users/SergioBertolinSG/followers","following_url":"https://api.github.com/users/SergioBertolinSG/following{/other_user}","gists_url":"https://api.github.com/users/SergioBertolinSG/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioBertolinSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioBertolinSG/subscriptions","organizations_url":"https://api.github.com/users/SergioBertolinSG/orgs","repos_url":"https://api.github.com/users/SergioBertolinSG/repos","events_url":"https://api.github.com/users/SergioBertolinSG/events{/privacy}","received_events_url":"https://api.github.com/users/SergioBertolinSG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev1-critical","name":"sev1-critical","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":50,"closed_issues":1416,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-06-16T08:49:22Z","due_on":"2015-07-07T04:00:00Z","closed_at":null},"comments":17,"created_at":"2015-06-09T09:41:38Z","updated_at":"2015-06-16T08:49:22Z","closed_at":"2015-06-16T08:49:22Z","body":"### Steps to reproduce\r\n\r\n1. Rename a folder using curl:\r\n```\r\ncurl -v -X MOVE 'http://User:Password@Host/remote.php/webdav/carpeta' -H 'Destination:http://User:Password@Host/remote.php/webdav/%2F'\r\n```\r\nor\r\n```\r\ncurl -v -X MOVE 'http://User:Password@Host/remote.php/webdav/carpeta' -H 'Destination:http://User:Password@Host/remote.php/webdav/%2Fhola'\r\n```\r\nor\r\n```\r\ncurl -v -X MOVE 'http://User:Password@Host/remote.php/webdav/carpeta' -H \"Destination:http://User:Password@Host/remote.php/webdav/hola%2Fhola\"\r\n```\r\n\r\n### Expected behaviour\r\nIt should answer error, forbidden characters.\r\n\r\n### Actual behaviour\r\nIn first case it returns `<s:exception>Sabre\\DAV\\Exception\\Forbidden</s:exception>`\r\nIn second case 'carpeta' is renamed to 'hola'\r\nIn third case it return \"The destination node is not found\"\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 14.04\r\n\r\n**Web server:**\r\nApache\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\n5.5.9\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n{\"installed\":true,\"maintenance\":false,\"version\":\"8.1.0.6\",\"versionstring\":\"8.1 beta 2\",\"edition\":\"Enterprise\"}\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh\r\n\r\n**List of activated apps:**\r\nNone.\r\n\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n\r\n```\r\n\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nNo.\r\n\r\n**Are you using encryption:** \r\nNo.\r\n\r\n**Logs**\r\n```\r\n```\r\n\r\n### Client configuration\r\n\r\ncurl\r\n"}}