« Previous | Next » 

Revision 69e38209

ID69e38209d2a4ff221d777fb0405d3a2906986281

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