From 4cc5950a66a5612db154fcfb232e2f97a94db153 Mon Sep 17 00:00:00 2001 From: Christian Kerl Date: Thu, 30 Dec 2010 02:13:56 +0100 Subject: [PATCH] updated mtom message validity checks --- Soap/SoapRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Soap/SoapRequest.php b/Soap/SoapRequest.php index bd316fb..3074e12 100644 --- a/Soap/SoapRequest.php +++ b/Soap/SoapRequest.php @@ -137,7 +137,7 @@ class SoapRequest extends Request protected function initializeMtomSoapMessage(array $contentTypeHeader, $content) { - if(!isset($contentTypeHeader['start']) || !isset($contentTypeHeader['boundary'])) + if(!isset($contentTypeHeader['start']) || !isset($contentTypeHeader['start-info']) || !isset($contentTypeHeader['boundary'])) { throw new \InvalidArgumentException(); }