merged branch schniper/patch-2 (PR #2622)
Commits
-------
7cba0a0
Also identify FirePHP by the X-FirePHP-Version header
Discussion
----------
Also identify FirePHP by the X-FirePHP-Version header
This commit is contained in:
commit
1a2b3cffd8
@ -42,7 +42,9 @@ class FirePHPHandler extends BaseFirePHPHandler
|
||||
return;
|
||||
}
|
||||
|
||||
if (!preg_match('{\bFirePHP/\d+\.\d+\b}', $event->getRequest()->headers->get('User-Agent'))) {
|
||||
if (!preg_match('{\bFirePHP/\d+\.\d+\b}', $event->getRequest()->headers->get('User-Agent'))
|
||||
&& !$event->getRequest()->headers->has('X-FirePHP-Version')) {
|
||||
|
||||
$this->sendHeaders = false;
|
||||
$this->headers = array();
|
||||
|
||||
|
Reference in New Issue
Block a user