{"action":"created","issue":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/2134","repository_url":"https://api.github.com/repos/ThemeFuse/Unyson","labels_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/2134/labels{/name}","comments_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/2134/comments","events_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/2134/events","html_url":"https://github.com/ThemeFuse/Unyson/pull/2134","id":184163384,"number":2134,"title":"Resolve issue when path match incorrect.","user":{"login":"philthetechie","id":4766316,"avatar_url":"https://avatars.githubusercontent.com/u/4766316?v=3","gravatar_id":"","url":"https://api.github.com/users/philthetechie","html_url":"https://github.com/philthetechie","followers_url":"https://api.github.com/users/philthetechie/followers","following_url":"https://api.github.com/users/philthetechie/following{/other_user}","gists_url":"https://api.github.com/users/philthetechie/gists{/gist_id}","starred_url":"https://api.github.com/users/philthetechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philthetechie/subscriptions","organizations_url":"https://api.github.com/users/philthetechie/orgs","repos_url":"https://api.github.com/users/philthetechie/repos","events_url":"https://api.github.com/users/philthetechie/events{/privacy}","received_events_url":"https://api.github.com/users/philthetechie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"moldcraft","id":1475489,"avatar_url":"https://avatars.githubusercontent.com/u/1475489?v=3","gravatar_id":"","url":"https://api.github.com/users/moldcraft","html_url":"https://github.com/moldcraft","followers_url":"https://api.github.com/users/moldcraft/followers","following_url":"https://api.github.com/users/moldcraft/following{/other_user}","gists_url":"https://api.github.com/users/moldcraft/gists{/gist_id}","starred_url":"https://api.github.com/users/moldcraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moldcraft/subscriptions","organizations_url":"https://api.github.com/users/moldcraft/orgs","repos_url":"https://api.github.com/users/moldcraft/repos","events_url":"https://api.github.com/users/moldcraft/events{/privacy}","received_events_url":"https://api.github.com/users/moldcraft/received_events","type":"User","site_admin":false},"assignees":[{"login":"moldcraft","id":1475489,"avatar_url":"https://avatars.githubusercontent.com/u/1475489?v=3","gravatar_id":"","url":"https://api.github.com/users/moldcraft","html_url":"https://github.com/moldcraft","followers_url":"https://api.github.com/users/moldcraft/followers","following_url":"https://api.github.com/users/moldcraft/following{/other_user}","gists_url":"https://api.github.com/users/moldcraft/gists{/gist_id}","starred_url":"https://api.github.com/users/moldcraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moldcraft/subscriptions","organizations_url":"https://api.github.com/users/moldcraft/orgs","repos_url":"https://api.github.com/users/moldcraft/repos","events_url":"https://api.github.com/users/moldcraft/events{/privacy}","received_events_url":"https://api.github.com/users/moldcraft/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-10-20T08:19:39Z","updated_at":"2016-10-20T09:32:00Z","closed_at":"2016-10-20T09:05:09Z","pull_request":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/pulls/2134","html_url":"https://github.com/ThemeFuse/Unyson/pull/2134","diff_url":"https://github.com/ThemeFuse/Unyson/pull/2134.diff","patch_url":"https://github.com/ThemeFuse/Unyson/pull/2134.patch"},"body":"Resolve issue when paths returned from class-fw-wp-filesystem::get_base_dirs_map() return partial match against $wp_filesystem_dir_path causing a false positive on partial paths with current regex.\r\n\r\n    FILEPATH: `/var/www/vhosts/domain.co.uk/httpdocs/wp-content/plugins/unyson/tmp`\r\n    REGEX: `/^\\/var\\/www\\/vhosts\\/domain\\.co\\.uk\\/httpdocs\\/wp/`\r\n    INCORRECT HIT (abspath()): /var/www/vhosts/domain.co.uk/httpdocs/wp - causing a replace to return `-content/plugins/unyson/tmp`\r\n    REQUIRED: `/var/www/vhosts/domain.co.uk/httpdocs/wp-content/plugins`\r\n\r\nSolution: Match the trailing slash on the regex, to ensure correct path is matched."},"comment":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/comments/255056692","html_url":"https://github.com/ThemeFuse/Unyson/pull/2134#issuecomment-255056692","issue_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/2134","id":255056692,"user":{"login":"philthetechie","id":4766316,"avatar_url":"https://avatars.githubusercontent.com/u/4766316?v=3","gravatar_id":"","url":"https://api.github.com/users/philthetechie","html_url":"https://github.com/philthetechie","followers_url":"https://api.github.com/users/philthetechie/followers","following_url":"https://api.github.com/users/philthetechie/following{/other_user}","gists_url":"https://api.github.com/users/philthetechie/gists{/gist_id}","starred_url":"https://api.github.com/users/philthetechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philthetechie/subscriptions","organizations_url":"https://api.github.com/users/philthetechie/orgs","repos_url":"https://api.github.com/users/philthetechie/repos","events_url":"https://api.github.com/users/philthetechie/events{/privacy}","received_events_url":"https://api.github.com/users/philthetechie/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T09:32:00Z","updated_at":"2016-10-20T09:32:00Z","body":"Ah good spot. Filepaths and regex - always loads of fun... \r\n\r\nCheers."}}
{"actor":{"display_login":"philthetechie"}}