{"action":"created","issue":{"url":"https://api.github.com/repos/contao/core/issues/7812","labels_url":"https://api.github.com/repos/contao/core/issues/7812/labels{/name}","comments_url":"https://api.github.com/repos/contao/core/issues/7812/comments","events_url":"https://api.github.com/repos/contao/core/issues/7812/events","html_url":"https://github.com/contao/core/pull/7812","id":74010997,"number":7812,"title":"Fix method indexFreeRequest","user":{"login":"bytehead","id":754921,"avatar_url":"https://avatars.githubusercontent.com/u/754921?v=3","gravatar_id":"","url":"https://api.github.com/users/bytehead","html_url":"https://github.com/bytehead","followers_url":"https://api.github.com/users/bytehead/followers","following_url":"https://api.github.com/users/bytehead/following{/other_user}","gists_url":"https://api.github.com/users/bytehead/gists{/gist_id}","starred_url":"https://api.github.com/users/bytehead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytehead/subscriptions","organizations_url":"https://api.github.com/users/bytehead/orgs","repos_url":"https://api.github.com/users/bytehead/repos","events_url":"https://api.github.com/users/bytehead/events{/privacy}","received_events_url":"https://api.github.com/users/bytehead/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-05-07T14:43:51Z","updated_at":"2015-05-08T13:33:03Z","closed_at":"2015-05-08T08:53:38Z","pull_request":{"url":"https://api.github.com/repos/contao/core/pulls/7812","html_url":"https://github.com/contao/core/pull/7812","diff_url":"https://github.com/contao/core/pull/7812.diff","patch_url":"https://github.com/contao/core/pull/7812.patch"},"body":"This PR fixes the method `\\Environment::get('indexFreeRequest')`.\r\n\r\nBefore, the method did just nothing when `$strRequest` wasn't matching `index.php`:\r\n\r\n```php\r\nprotected static function indexFreeRequest()\r\n\t{\r\n\t\t$strRequest = static::get('request');\r\n\r\n\t\tif ($strRequest == 'index.php')\r\n\t\t{\r\n\t\t\treturn '';\r\n\t\t}\r\n\r\n\t\treturn $strRequest;\r\n\t}\r\n```"},"comment":{"url":"https://api.github.com/repos/contao/core/issues/comments/100235394","html_url":"https://github.com/contao/core/pull/7812#issuecomment-100235394","issue_url":"https://api.github.com/repos/contao/core/issues/7812","id":100235394,"user":{"login":"aschempp","id":1073273,"avatar_url":"https://avatars.githubusercontent.com/u/1073273?v=3","gravatar_id":"","url":"https://api.github.com/users/aschempp","html_url":"https://github.com/aschempp","followers_url":"https://api.github.com/users/aschempp/followers","following_url":"https://api.github.com/users/aschempp/following{/other_user}","gists_url":"https://api.github.com/users/aschempp/gists{/gist_id}","starred_url":"https://api.github.com/users/aschempp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschempp/subscriptions","organizations_url":"https://api.github.com/users/aschempp/orgs","repos_url":"https://api.github.com/users/aschempp/repos","events_url":"https://api.github.com/users/aschempp/events{/privacy}","received_events_url":"https://api.github.com/users/aschempp/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T13:33:03Z","updated_at":"2015-05-08T13:33:03Z","body":"if URL rewriting is enabled, the request would not contain an `index.php` in the first place"}}