« Previous | Next » 

Revision 69e38209


Added by Christopher Hlubek over 9 years ago

[BUGFIX] Guard against missing server global variables

Calling Http\Request::createFromEnvironment() gives a notice about an
undefined array index for HTTP_HOST and REMOTE_URI if used e.g. in
CLI based tests.

This change adds guards against this in the Request implementation.

Change-Id: Ib68c4de2777c651a9a9f1f5769e18eaa6efcfea2
Fixes: #36518
Releases: 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted