Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Conversation

@AlloVince
Copy link
Contributor

Fixed http request detect issue.

When url query contains any url, the requestUri part is not correct.

For example,

 $_SERVER['REQUEST_URI'] = '/html/index.php?url=http://test.example.com/path/&foo=bar';
 $request = new \Zend\Http\PhpEnvironment\Request();
 echo $request->getRequestUri();

Output is:

 /path/&foo=bar

Correct should be

/html/index.php?url=http://test.example.com/path/&foo=bar

@Maks3w
Copy link
Member

Maks3w commented Oct 30, 2012

This and #2838 try to fix the same issue (#2811)

@Maks3w Maks3w merged commit 9409976 into zendframework:master Oct 30, 2012
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants