mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
a7d3f89136
In some cases, a request may not have an HTTP_USER_AGENT. This should check the variable exists before attempting to check it. The specific case where it failed for me was Active Directory Federation Services sending a web request to a SilverStripe site, but failing because it doesn't have an agent string. |
||
---|---|---|
.. | ||
injector | ||
ContentNegotiator.php | ||
Controller.php | ||
Cookie.php | ||
Director.php | ||
FlushRequestFilter.php | ||
HTTP.php | ||
HTTPRequest.php | ||
HTTPResponse.php | ||
NullHTTPRequest.php | ||
PjaxResponseNegotiator.php | ||
RequestFilter.php | ||
RequestHandler.php | ||
RequestProcessor.php | ||
Session.php | ||
VersionedRequestFilter.php |