{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/23404","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/23404/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/23404/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/23404/events","html_url":"https://github.com/owncloud/core/pull/23404","id":141994377,"number":23404,"title":"adjust PrincipalUri as returned from Sabre to effective username","user":{"login":"blizzz","id":2184312,"avatar_url":"https://avatars.githubusercontent.com/u/2184312?v=3","gravatar_id":"","url":"https://api.github.com/users/blizzz","html_url":"https://github.com/blizzz","followers_url":"https://api.github.com/users/blizzz/followers","following_url":"https://api.github.com/users/blizzz/following{/other_user}","gists_url":"https://api.github.com/users/blizzz/gists{/gist_id}","starred_url":"https://api.github.com/users/blizzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blizzz/subscriptions","organizations_url":"https://api.github.com/users/blizzz/orgs","repos_url":"https://api.github.com/users/blizzz/repos","events_url":"https://api.github.com/users/blizzz/events{/privacy}","received_events_url":"https://api.github.com/users/blizzz/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/app:dav","name":"app:dav","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev2-high","name":"sev2-high","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/62","html_url":"https://github.com/owncloud/core/milestones/9.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/62/labels","id":1322460,"number":62,"title":"9.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":698,"closed_issues":202,"state":"open","created_at":"2015-09-24T16:30:14Z","updated_at":"2016-03-21T17:56:53Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-03-18T22:38:29Z","updated_at":"2016-03-21T20:55:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/23404","html_url":"https://github.com/owncloud/core/pull/23404","diff_url":"https://github.com/owncloud/core/pull/23404.diff","patch_url":"https://github.com/owncloud/core/pull/23404.patch"},"body":"We receive a PrincipalUri from Sabre which includes the login name. We missed to replace it with the username. \r\n\r\nHow to test:\r\n\r\n1. Have a local user joann\r\n2. curl -u Joann -X PROPFIND http://zara.owncloud.bzoc/stable9/remote.php/caldav/calendars/joann (note to use a login name with a capital first letter)\r\n\r\nBefore the patch: Sabre\\DAV\\Exception\\NotFound\r\nNow: Directory listings\r\n\r\nHelps extremely with LDAP users where login names and usernames often differ.\r\n\r\nIf not fixes, at least contributes to fixing #22988\r\n\r\n@DeepDiver1975 you know the effective code best, love to read your opinion."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/199480195","html_url":"https://github.com/owncloud/core/pull/23404#issuecomment-199480195","issue_url":"https://api.github.com/repos/owncloud/core/issues/23404","id":199480195,"user":{"login":"blizzz","id":2184312,"avatar_url":"https://avatars.githubusercontent.com/u/2184312?v=3","gravatar_id":"","url":"https://api.github.com/users/blizzz","html_url":"https://github.com/blizzz","followers_url":"https://api.github.com/users/blizzz/followers","following_url":"https://api.github.com/users/blizzz/following{/other_user}","gists_url":"https://api.github.com/users/blizzz/gists{/gist_id}","starred_url":"https://api.github.com/users/blizzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blizzz/subscriptions","organizations_url":"https://api.github.com/users/blizzz/orgs","repos_url":"https://api.github.com/users/blizzz/repos","events_url":"https://api.github.com/users/blizzz/events{/privacy}","received_events_url":"https://api.github.com/users/blizzz/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T20:55:16Z","updated_at":"2016-03-21T20:55:16Z","body":"test is fixed, should run smoothly now"}}