{"action":"created","issue":{"url":"https://api.github.com/repos/barbushin/php-imap/issues/86","labels_url":"https://api.github.com/repos/barbushin/php-imap/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/barbushin/php-imap/issues/86/comments","events_url":"https://api.github.com/repos/barbushin/php-imap/issues/86/events","html_url":"https://github.com/barbushin/php-imap/issues/86","id":95311437,"number":86,"title":"Error in code","user":{"login":"joseph-batson","id":13357182,"avatar_url":"https://avatars.githubusercontent.com/u/13357182?v=3","gravatar_id":"","url":"https://api.github.com/users/joseph-batson","html_url":"https://github.com/joseph-batson","followers_url":"https://api.github.com/users/joseph-batson/followers","following_url":"https://api.github.com/users/joseph-batson/following{/other_user}","gists_url":"https://api.github.com/users/joseph-batson/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-batson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-batson/subscriptions","organizations_url":"https://api.github.com/users/joseph-batson/orgs","repos_url":"https://api.github.com/users/joseph-batson/repos","events_url":"https://api.github.com/users/joseph-batson/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-batson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T23:27:22Z","updated_at":"2015-07-17T16:20:51Z","closed_at":null,"body":"File: Mailbox.php\r\nLine: 509\r\n\r\n\t\t\t\t$replace = array(\r\n\t\t\t\t\t'/\\s/' => '_',\r\n\t\t\t\t\t'/[^0-9a-zа-яіїє_\\.]/iu' => '',\r\n\t\t\t\t\t'/_+/' => '_',\r\n\t\t\t\t\t'/(^_)|(_$)/' => '',\r\n\t\t\t\t);\r\n\r\nshould be\r\n\r\n\t\t\t\t$replace = array(\r\n\t\t\t\t\t'/\\s/' => '_',\r\n\t\t\t\t\t'/[^0-9a-zA-Z_\\.]/' => '',\r\n\t\t\t\t\t'/_+/' => '_',\r\n\t\t\t\t\t'/(^_)|(_$)/' => '',\r\n\t\t\t\t);"},"comment":{"url":"https://api.github.com/repos/barbushin/php-imap/issues/comments/122331800","html_url":"https://github.com/barbushin/php-imap/issues/86#issuecomment-122331800","issue_url":"https://api.github.com/repos/barbushin/php-imap/issues/86","id":122331800,"user":{"login":"joseph-batson","id":13357182,"avatar_url":"https://avatars.githubusercontent.com/u/13357182?v=3","gravatar_id":"","url":"https://api.github.com/users/joseph-batson","html_url":"https://github.com/joseph-batson","followers_url":"https://api.github.com/users/joseph-batson/followers","following_url":"https://api.github.com/users/joseph-batson/following{/other_user}","gists_url":"https://api.github.com/users/joseph-batson/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-batson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-batson/subscriptions","organizations_url":"https://api.github.com/users/joseph-batson/orgs","repos_url":"https://api.github.com/users/joseph-batson/repos","events_url":"https://api.github.com/users/joseph-batson/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-batson/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T16:20:51Z","updated_at":"2015-07-17T16:20:51Z","body":"In a previous version that was the regex that was used in method\ninitMailPart. Just looked wrong to me, if \n \n \nIf this\n\n\n\n$replace = array(\n\n'/\\s/' => '_',\n\n'/[^0-9a-zа-яіїє_\\.]/iu' => '',\n\n'/_+/' => '_',\n\n'/(^_)|(_$)/' => '',\n\n);\n\nis correct let me know.\n\n \nThanks,\nJoseph Batson\nWeb Developer\nEmail:  <mailto:jbatson@verifysystems.com> jbatson@verifysystems.com\nVerify Systems, Inc.\n \n\n  _____  \n\nFrom: Sergey [mailto:notifications@github.com] \nSent: Friday, July 17, 2015 1:17 AM\nTo: barbushin/php-imap\nCc: joseph-batson\nSubject: Re: [php-imap] Error in code (#86)\n\n\n\nWhy?)\n\n—\nReply to this email directly or\n<https://github.com/barbushin/php-imap/issues/86#issuecomment-122188078>\nview it on GitHub.\n<https://github.com/notifications/beacon/AMvQfvhPDdEFEXOfHnQ_sC8GyBS7td4Mks5\noeJVpgaJpZM4FZfl9.gif> \n\n"}}