Bug #36518

Http\Request::createFromEnvironment does not work on CLI

Added by Christopher Hlubek over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
Http
Start date:
2012-04-24
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:

Description

Calling Http\Request::createFromEnvironment gives a notice about an undefined array index for HTTP_HOST and REMOTE_URI. This should be guarded in the Request implementation.

#1

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10742

#2

Updated by Christopher Hlubek over 8 years ago

  • Has patch changed from No to Yes
#3

Updated by Karsten Dambekalns over 8 years ago

  • Category set to Http
  • Target version set to 1.1
#4

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10742

#5

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10742

#6

Updated by Christopher Hlubek over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF