Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

[HttpFoundation] Request::create with url missing trailing slash #5729

Closed
bendavies opened this Issue Oct 11, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

bendavies commented Oct 11, 2012

        $request = Request::create('http://test.com', 'GET', array('bar' => 'baz'));

this gives http://test.com?bar=baz?bar=baz
while i would obviously expect
http://test.com/?bar=baz or http://test.com?bar=baz

I'm unsure which is correct...

A trailing slash on the domain creates the expected behaviour

@fabpot fabpot closed this in 89f7b5e Oct 11, 2012

Contributor

bendavies commented Oct 11, 2012

@fabpot thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment