mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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.