{"action":"created","issue":{"url":"https://api.github.com/repos/pantheon-systems/WordPress/issues/9","labels_url":"https://api.github.com/repos/pantheon-systems/WordPress/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/pantheon-systems/WordPress/issues/9/comments","events_url":"https://api.github.com/repos/pantheon-systems/WordPress/issues/9/events","html_url":"https://github.com/pantheon-systems/WordPress/issues/9","id":45703072,"number":9,"title":"Cache: Undefined index error when post permalink has no query string","user":{"login":"TimothyBJacobs","id":3460448,"avatar_url":"https://avatars.githubusercontent.com/u/3460448?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyBJacobs","html_url":"https://github.com/TimothyBJacobs","followers_url":"https://api.github.com/users/TimothyBJacobs/followers","following_url":"https://api.github.com/users/TimothyBJacobs/following{/other_user}","gists_url":"https://api.github.com/users/TimothyBJacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyBJacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyBJacobs/subscriptions","organizations_url":"https://api.github.com/users/TimothyBJacobs/orgs","repos_url":"https://api.github.com/users/TimothyBJacobs/repos","events_url":"https://api.github.com/users/TimothyBJacobs/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyBJacobs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pantheon-systems/WordPress/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-10-14T01:22:39Z","updated_at":"2015-10-28T13:51:01Z","closed_at":"2015-10-28T13:51:01Z","body":"On line 361, the `query` portion of the URL is used without checking if it exists.\r\n\r\nhttps://github.com/pantheon-systems/WordPress/blob/master/wp-content/mu-plugins/pantheon/pantheon-cache.php#L361\r\n\r\n`query` should be checked with `isset()` before being used."},"comment":{"url":"https://api.github.com/repos/pantheon-systems/WordPress/issues/comments/151850119","html_url":"https://github.com/pantheon-systems/WordPress/issues/9#issuecomment-151850119","issue_url":"https://api.github.com/repos/pantheon-systems/WordPress/issues/9","id":151850119,"user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T13:51:01Z","updated_at":"2015-10-28T13:51:01Z","body":"@joshkoenig This was originally valid in the [3.9.2 tag](https://github.com/pantheon-systems/WordPress/blob/3.9.2/wp-content/mu-plugins/pantheon/pantheon-cache.php#L361) but no longer valid as of [4.1.0](https://github.com/pantheon-systems/WordPress/blob/4.1.0/wp-content/mu-plugins/pantheon/pantheon-cache.php#L365-L371) as it was fixed in 9bf22e0d5acd2aea3982ddf8a5851e58c9631459"}}