{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/8508","labels_url":"https://api.github.com/repos/laravel/framework/issues/8508/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/8508/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/8508/events","html_url":"https://github.com/laravel/framework/pull/8508","id":69799246,"number":8508,"title":"Fix base URL bug","user":{"login":"lukasgeiter","id":5907946,"avatar_url":"https://avatars.githubusercontent.com/u/5907946?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasgeiter","html_url":"https://github.com/lukasgeiter","followers_url":"https://api.github.com/users/lukasgeiter/followers","following_url":"https://api.github.com/users/lukasgeiter/following{/other_user}","gists_url":"https://api.github.com/users/lukasgeiter/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasgeiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasgeiter/subscriptions","organizations_url":"https://api.github.com/users/lukasgeiter/orgs","repos_url":"https://api.github.com/users/lukasgeiter/repos","events_url":"https://api.github.com/users/lukasgeiter/events{/privacy}","received_events_url":"https://api.github.com/users/lukasgeiter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-04-21T09:52:55Z","updated_at":"2015-04-24T18:36:36Z","closed_at":"2015-04-23T14:06:44Z","pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/8508","html_url":"https://github.com/laravel/framework/pull/8508","diff_url":"https://github.com/laravel/framework/pull/8508.diff","patch_url":"https://github.com/laravel/framework/pull/8508.patch"},"body":"*This solves the issue #8441*\r\n\r\nIt might not be considered as a real bug, but the Symfony Request makes a mistake when determining the base URL of a request.\r\nIf the application is running under domain root, following URLs will all produce the same path info:\r\n\r\n    http://laravel.app/\r\n    http://laravel.app/foo/bar/index.php\r\n\r\n`foo/bar` can be replaced with anything, the page will still work and **not** return a 404.\r\n\r\nFor a live example hit: http://laravel.com/foo/index.php/docs/5.0/\r\n\r\nThis PR fixes that behavior but I'd really like some feedback from you guys:\r\n\r\n1. Is it OK to fix this just within Laravel or should it be fixed in the Symfony Request class?\r\n2. I'm unsure if this covers all (necessary) cases. Especially since the original `prepareBaseUrl()` is a lot more complicated. What do you think?\r\n"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/96027456","html_url":"https://github.com/laravel/framework/pull/8508#issuecomment-96027456","issue_url":"https://api.github.com/repos/laravel/framework/issues/8508","id":96027456,"user":{"login":"aequasi","id":896295,"avatar_url":"https://avatars.githubusercontent.com/u/896295?v=3","gravatar_id":"","url":"https://api.github.com/users/aequasi","html_url":"https://github.com/aequasi","followers_url":"https://api.github.com/users/aequasi/followers","following_url":"https://api.github.com/users/aequasi/following{/other_user}","gists_url":"https://api.github.com/users/aequasi/gists{/gist_id}","starred_url":"https://api.github.com/users/aequasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aequasi/subscriptions","organizations_url":"https://api.github.com/users/aequasi/orgs","repos_url":"https://api.github.com/users/aequasi/repos","events_url":"https://api.github.com/users/aequasi/events{/privacy}","received_events_url":"https://api.github.com/users/aequasi/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T18:36:35Z","updated_at":"2015-04-24T18:36:35Z","body":"Yeah... Im trying to find another one... Also @PatrickBauer, because symfony would be overkill for symfony.com"}}