{"action":"created","issue":{"url":"https://api.github.com/repos/axllent/silverstripe-trailing-slash/issues/2","labels_url":"https://api.github.com/repos/axllent/silverstripe-trailing-slash/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/axllent/silverstripe-trailing-slash/issues/2/comments","events_url":"https://api.github.com/repos/axllent/silverstripe-trailing-slash/issues/2/events","html_url":"https://github.com/axllent/silverstripe-trailing-slash/pull/2","id":119391640,"number":2,"title":"Fixing how pathinfo array is called.","user":{"login":"3Dgoo","id":2616373,"avatar_url":"https://avatars.githubusercontent.com/u/2616373?v=3","gravatar_id":"","url":"https://api.github.com/users/3Dgoo","html_url":"https://github.com/3Dgoo","followers_url":"https://api.github.com/users/3Dgoo/followers","following_url":"https://api.github.com/users/3Dgoo/following{/other_user}","gists_url":"https://api.github.com/users/3Dgoo/gists{/gist_id}","starred_url":"https://api.github.com/users/3Dgoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Dgoo/subscriptions","organizations_url":"https://api.github.com/users/3Dgoo/orgs","repos_url":"https://api.github.com/users/3Dgoo/repos","events_url":"https://api.github.com/users/3Dgoo/events{/privacy}","received_events_url":"https://api.github.com/users/3Dgoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-29T22:12:45Z","updated_at":"2015-11-29T22:32:33Z","closed_at":"2015-11-29T22:32:08Z","pull_request":{"url":"https://api.github.com/repos/axllent/silverstripe-trailing-slash/pulls/2","html_url":"https://github.com/axllent/silverstripe-trailing-slash/pull/2","diff_url":"https://github.com/axllent/silverstripe-trailing-slash/pull/2.diff","patch_url":"https://github.com/axllent/silverstripe-trailing-slash/pull/2.patch"},"body":"Some servers can't handle calling `pathinfo($url)['extension']`. \r\n\r\nI have fixed this up by first assigning the results of `pathinfo($url)` to a variable and then checking if `$urlPathInfo['extension']` is set."},"comment":{"url":"https://api.github.com/repos/axllent/silverstripe-trailing-slash/issues/comments/160478067","html_url":"https://github.com/axllent/silverstripe-trailing-slash/pull/2#issuecomment-160478067","issue_url":"https://api.github.com/repos/axllent/silverstripe-trailing-slash/issues/2","id":160478067,"user":{"login":"axllent","id":1463435,"avatar_url":"https://avatars.githubusercontent.com/u/1463435?v=3","gravatar_id":"","url":"https://api.github.com/users/axllent","html_url":"https://github.com/axllent","followers_url":"https://api.github.com/users/axllent/followers","following_url":"https://api.github.com/users/axllent/following{/other_user}","gists_url":"https://api.github.com/users/axllent/gists{/gist_id}","starred_url":"https://api.github.com/users/axllent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axllent/subscriptions","organizations_url":"https://api.github.com/users/axllent/orgs","repos_url":"https://api.github.com/users/axllent/repos","events_url":"https://api.github.com/users/axllent/events{/privacy}","received_events_url":"https://api.github.com/users/axllent/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T22:32:33Z","updated_at":"2015-11-29T22:32:33Z","body":"Thanks for the input & patch!"}}