Merge remote-tracking branch 'origin/0.2'
This commit is contained in:
commit
27ebf0fbce
|
@ -51,7 +51,9 @@ class SoapExceptionListener extends ExceptionListener
|
||||||
}
|
}
|
||||||
|
|
||||||
$request = $event->getRequest();
|
$request = $event->getRequest();
|
||||||
if ('soap' !== $request->getRequestFormat()) {
|
if (!in_array($request->getRequestFormat(), array('soap', 'xml'))) {
|
||||||
|
return;
|
||||||
|
} elseif ('xml' === $request->getRequestFormat() && '_webservice_call' !== $request->attributes->get('_route')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue