{"action":"created","comment":{"url":"https://api.github.com/repos/fruux/sabre-dav/pulls/comments/31025758","id":31025758,"diff_hunk":"@@ -557,8 +557,15 @@ public function parseMultiStatus($body) {\n \n                 $propStat->registerXPathNamespace('d', 'urn:DAV');\n                 $status = $propStat->xpath('d:status');\n-                list($httpVersion, $statusCode, $message) = explode(' ', (string)$status[0],3);\n-\n+                \n+                // This resolves issues that are flooding the log file due to some malformed\n+                // WebDAV response e.g. T-Mobile's cloud named \"Mediencenter\"\n+                // This has the positve side-effect of a huge speed inporovement on erros\n+                if (count($status) < 1 || empty($status[0]) || count($status) < 3)","path":"lib/Sabre/DAV/Client.php","position":10,"original_position":10,"commit_id":"c8ce76b07d47847c586a403388453fcf5419cf8c","original_commit_id":"c8ce76b07d47847c586a403388453fcf5419cf8c","user":{"login":"staabm","id":120441,"avatar_url":"https://avatars.githubusercontent.com/u/120441?v=3","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"body":"why do you check the count of `$status`  twice?\r\n\r\nwhy should this change boost performance?\r\n(I think it might be slow in your case, because of extensive error-logging?)","created_at":"2015-05-26T11:56:46Z","updated_at":"2015-05-26T11:56:46Z","html_url":"https://github.com/fruux/sabre-dav/pull/667#discussion_r31025758","pull_request_url":"https://api.github.com/repos/fruux/sabre-dav/pulls/667","_links":{"self":{"href":"https://api.github.com/repos/fruux/sabre-dav/pulls/comments/31025758"},"html":{"href":"https://github.com/fruux/sabre-dav/pull/667#discussion_r31025758"},"pull_request":{"href":"https://api.github.com/repos/fruux/sabre-dav/pulls/667"}}},"pull_request":{"url":"https://api.github.com/repos/fruux/sabre-dav/pulls/667","id":36194698,"html_url":"https://github.com/fruux/sabre-dav/pull/667","diff_url":"https://github.com/fruux/sabre-dav/pull/667.diff","patch_url":"https://github.com/fruux/sabre-dav/pull/667.patch","issue_url":"https://api.github.com/repos/fruux/sabre-dav/issues/667","number":667,"state":"open","locked":false,"title":"FIX for webdav.mediencenter.t-online.de","user":{"login":"OliverKohlDSc","id":8104064,"avatar_url":"https://avatars.githubusercontent.com/u/8104064?v=3","gravatar_id":"","url":"https://api.github.com/users/OliverKohlDSc","html_url":"https://github.com/OliverKohlDSc","followers_url":"https://api.github.com/users/OliverKohlDSc/followers","following_url":"https://api.github.com/users/OliverKohlDSc/following{/other_user}","gists_url":"https://api.github.com/users/OliverKohlDSc/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverKohlDSc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverKohlDSc/subscriptions","organizations_url":"https://api.github.com/users/OliverKohlDSc/orgs","repos_url":"https://api.github.com/users/OliverKohlDSc/repos","events_url":"https://api.github.com/users/OliverKohlDSc/events{/privacy}","received_events_url":"https://api.github.com/users/OliverKohlDSc/received_events","type":"User","site_admin":false},"body":"https://webdav.mediencenter.t-online.de returns invalid response code.\r\n\r\ne.g.\r\n{\"reqId\":\"f9a1c394b98108e4e5ca62bf47829c64\",\"remoteAddr\":\"81.189.45.224\",\"app\":\"PHP\",\"message\":\"Undefined offset: 2 at \\/var\\/www\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/Sabre\\/DAV\\/Client.php#569\",\"level\":3,\"time\":\"2015-03-25T18:25:48+00:00\",\"method\":\"GET\",\"url\":\"\\/index.php\\/apps\\/files\\/ajax\\/getstoragestats.php?dir=External%2FT-Cloud%2FTests\"}\r\n\r\nas documented here: https://github.com/owncloud/3rdparty/pull/169","created_at":"2015-05-26T11:54:41Z","updated_at":"2015-05-26T11:56:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5025ed0e5159fd63d1dcc3b75770099a5cd01438","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fruux/sabre-dav/pulls/667/commits","review_comments_url":"https://api.github.com/repos/fruux/sabre-dav/pulls/667/comments","review_comment_url":"https://api.github.com/repos/fruux/sabre-dav/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fruux/sabre-dav/issues/667/comments","statuses_url":"https://api.github.com/repos/fruux/sabre-dav/statuses/c8ce76b07d47847c586a403388453fcf5419cf8c","head":{"label":"OliverKohlDSc:patch-1","ref":"patch-1","sha":"c8ce76b07d47847c586a403388453fcf5419cf8c","user":{"login":"OliverKohlDSc","id":8104064,"avatar_url":"https://avatars.githubusercontent.com/u/8104064?v=3","gravatar_id":"","url":"https://api.github.com/users/OliverKohlDSc","html_url":"https://github.com/OliverKohlDSc","followers_url":"https://api.github.com/users/OliverKohlDSc/followers","following_url":"https://api.github.com/users/OliverKohlDSc/following{/other_user}","gists_url":"https://api.github.com/users/OliverKohlDSc/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverKohlDSc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverKohlDSc/subscriptions","organizations_url":"https://api.github.com/users/OliverKohlDSc/orgs","repos_url":"https://api.github.com/users/OliverKohlDSc/repos","events_url":"https://api.github.com/users/OliverKohlDSc/events{/privacy}","received_events_url":"https://api.github.com/users/OliverKohlDSc/received_events","type":"User","site_admin":false},"repo":{"id":32886815,"name":"sabre-dav","full_name":"OliverKohlDSc/sabre-dav","owner":{"login":"OliverKohlDSc","id":8104064,"avatar_url":"https://avatars.githubusercontent.com/u/8104064?v=3","gravatar_id":"","url":"https://api.github.com/users/OliverKohlDSc","html_url":"https://github.com/OliverKohlDSc","followers_url":"https://api.github.com/users/OliverKohlDSc/followers","following_url":"https://api.github.com/users/OliverKohlDSc/following{/other_user}","gists_url":"https://api.github.com/users/OliverKohlDSc/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverKohlDSc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverKohlDSc/subscriptions","organizations_url":"https://api.github.com/users/OliverKohlDSc/orgs","repos_url":"https://api.github.com/users/OliverKohlDSc/repos","events_url":"https://api.github.com/users/OliverKohlDSc/events{/privacy}","received_events_url":"https://api.github.com/users/OliverKohlDSc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OliverKohlDSc/sabre-dav","description":"sabre/dav is a CalDAV, CardDAV and WebDAV framework for PHP","fork":true,"url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav","forks_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/forks","keys_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/teams","hooks_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/hooks","issue_events_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/issues/events{/number}","events_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/events","assignees_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/assignees{/user}","branches_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/branches{/branch}","tags_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/tags","blobs_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/git/refs{/sha}","trees_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/statuses/{sha}","languages_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/languages","stargazers_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/stargazers","contributors_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/contributors","subscribers_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/subscribers","subscription_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/subscription","commits_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/commits{/sha}","git_commits_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/git/commits{/sha}","comments_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/comments{/number}","issue_comment_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/issues/comments{/number}","contents_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/contents/{+path}","compare_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/merges","archive_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/downloads","issues_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/issues{/number}","pulls_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/pulls{/number}","milestones_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/milestones{/number}","notifications_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/labels{/name}","releases_url":"https://api.github.com/repos/OliverKohlDSc/sabre-dav/releases{/id}","created_at":"2015-03-25T19:41:24Z","updated_at":"2015-03-25T19:41:26Z","pushed_at":"2015-05-26T11:54:23Z","git_url":"git://github.com/OliverKohlDSc/sabre-dav.git","ssh_url":"git@github.com:OliverKohlDSc/sabre-dav.git","clone_url":"https://github.com/OliverKohlDSc/sabre-dav.git","svn_url":"https://github.com/OliverKohlDSc/sabre-dav","homepage":"http://sabre.io","size":13393,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fruux:1.8","ref":"1.8","sha":"6a7b4ad4433faca5a5dae754f8d0828c9da59dd9","user":{"login":"fruux","id":1384629,"avatar_url":"https://avatars.githubusercontent.com/u/1384629?v=3","gravatar_id":"","url":"https://api.github.com/users/fruux","html_url":"https://github.com/fruux","followers_url":"https://api.github.com/users/fruux/followers","following_url":"https://api.github.com/users/fruux/following{/other_user}","gists_url":"https://api.github.com/users/fruux/gists{/gist_id}","starred_url":"https://api.github.com/users/fruux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fruux/subscriptions","organizations_url":"https://api.github.com/users/fruux/orgs","repos_url":"https://api.github.com/users/fruux/repos","events_url":"https://api.github.com/users/fruux/events{/privacy}","received_events_url":"https://api.github.com/users/fruux/received_events","type":"Organization","site_admin":false},"repo":{"id":2536145,"name":"sabre-dav","full_name":"fruux/sabre-dav","owner":{"login":"fruux","id":1384629,"avatar_url":"https://avatars.githubusercontent.com/u/1384629?v=3","gravatar_id":"","url":"https://api.github.com/users/fruux","html_url":"https://github.com/fruux","followers_url":"https://api.github.com/users/fruux/followers","following_url":"https://api.github.com/users/fruux/following{/other_user}","gists_url":"https://api.github.com/users/fruux/gists{/gist_id}","starred_url":"https://api.github.com/users/fruux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fruux/subscriptions","organizations_url":"https://api.github.com/users/fruux/orgs","repos_url":"https://api.github.com/users/fruux/repos","events_url":"https://api.github.com/users/fruux/events{/privacy}","received_events_url":"https://api.github.com/users/fruux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fruux/sabre-dav","description":"sabre/dav is a CalDAV, CardDAV and WebDAV framework for PHP","fork":false,"url":"https://api.github.com/repos/fruux/sabre-dav","forks_url":"https://api.github.com/repos/fruux/sabre-dav/forks","keys_url":"https://api.github.com/repos/fruux/sabre-dav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fruux/sabre-dav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fruux/sabre-dav/teams","hooks_url":"https://api.github.com/repos/fruux/sabre-dav/hooks","issue_events_url":"https://api.github.com/repos/fruux/sabre-dav/issues/events{/number}","events_url":"https://api.github.com/repos/fruux/sabre-dav/events","assignees_url":"https://api.github.com/repos/fruux/sabre-dav/assignees{/user}","branches_url":"https://api.github.com/repos/fruux/sabre-dav/branches{/branch}","tags_url":"https://api.github.com/repos/fruux/sabre-dav/tags","blobs_url":"https://api.github.com/repos/fruux/sabre-dav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fruux/sabre-dav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fruux/sabre-dav/git/refs{/sha}","trees_url":"https://api.github.com/repos/fruux/sabre-dav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fruux/sabre-dav/statuses/{sha}","languages_url":"https://api.github.com/repos/fruux/sabre-dav/languages","stargazers_url":"https://api.github.com/repos/fruux/sabre-dav/stargazers","contributors_url":"https://api.github.com/repos/fruux/sabre-dav/contributors","subscribers_url":"https://api.github.com/repos/fruux/sabre-dav/subscribers","subscription_url":"https://api.github.com/repos/fruux/sabre-dav/subscription","commits_url":"https://api.github.com/repos/fruux/sabre-dav/commits{/sha}","git_commits_url":"https://api.github.com/repos/fruux/sabre-dav/git/commits{/sha}","comments_url":"https://api.github.com/repos/fruux/sabre-dav/comments{/number}","issue_comment_url":"https://api.github.com/repos/fruux/sabre-dav/issues/comments{/number}","contents_url":"https://api.github.com/repos/fruux/sabre-dav/contents/{+path}","compare_url":"https://api.github.com/repos/fruux/sabre-dav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fruux/sabre-dav/merges","archive_url":"https://api.github.com/repos/fruux/sabre-dav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fruux/sabre-dav/downloads","issues_url":"https://api.github.com/repos/fruux/sabre-dav/issues{/number}","pulls_url":"https://api.github.com/repos/fruux/sabre-dav/pulls{/number}","milestones_url":"https://api.github.com/repos/fruux/sabre-dav/milestones{/number}","notifications_url":"https://api.github.com/repos/fruux/sabre-dav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fruux/sabre-dav/labels{/name}","releases_url":"https://api.github.com/repos/fruux/sabre-dav/releases{/id}","created_at":"2011-10-08T00:38:42Z","updated_at":"2015-05-26T04:41:49Z","pushed_at":"2015-05-26T11:54:42Z","git_url":"git://github.com/fruux/sabre-dav.git","ssh_url":"git@github.com:fruux/sabre-dav.git","clone_url":"https://github.com/fruux/sabre-dav.git","svn_url":"https://github.com/fruux/sabre-dav","homepage":"http://sabre.io","size":25053,"stargazers_count":509,"watchers_count":509,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":35,"forks":138,"open_issues":35,"watchers":509,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fruux/sabre-dav/pulls/667"},"html":{"href":"https://github.com/fruux/sabre-dav/pull/667"},"issue":{"href":"https://api.github.com/repos/fruux/sabre-dav/issues/667"},"comments":{"href":"https://api.github.com/repos/fruux/sabre-dav/issues/667/comments"},"review_comments":{"href":"https://api.github.com/repos/fruux/sabre-dav/pulls/667/comments"},"review_comment":{"href":"https://api.github.com/repos/fruux/sabre-dav/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fruux/sabre-dav/pulls/667/commits"},"statuses":{"href":"https://api.github.com/repos/fruux/sabre-dav/statuses/c8ce76b07d47847c586a403388453fcf5419cf8c"}}}}