Skip to content

Commit eb48fa8

Browse files
committed
SOAP Some IdPs have issues with newlines in SOAP-ENV
1 parent a00f908 commit eb48fa8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/Net/SAML2/Binding/SOAP.pm

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,7 @@ sub create_soap_envelope {
241241
die "failed to sign" unless $ret;
242242

243243
my $soap = <<"SOAP";
244-
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
245-
<SOAP-ENV:Body>
246-
$signed_message
247-
</SOAP-ENV:Body>
248-
</SOAP-ENV:Envelope>
244+
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body>$signed_message</SOAP-ENV:Body></SOAP-ENV:Envelope>
249245
SOAP
250246
return $soap;
251247
}

0 commit comments

Comments
 (0)