Skip to content

Commit e13a7f0

Browse files
committed
Revert a modification
1 parent ed68435 commit e13a7f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/OneLogin/Saml/Metadata.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public function __construct(OneLogin_Saml_Settings $settings)
3131
public function getXml()
3232
{
3333
$validUntil = $this->_getMetadataValidTimestamp();
34-
$assertionConsumerServiceURL = rawurlencode($this->_settings->spReturnUrl);
3534

3635
return <<<METADATA_TEMPLATE
3736
<?xml version="1.0"?>
@@ -41,7 +40,7 @@ public function getXml()
4140
<md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
4241
<md:NameIDFormat>{$this->_settings->requestedNameIdFormat}</md:NameIDFormat>
4342
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
44-
Location="{$assertionConsumerServiceURL}"
43+
Location="{$this->_settings->spReturnUrl}"
4544
index="1"/>
4645
</md:SPSSODescriptor>
4746
</md:EntityDescriptor>

0 commit comments

Comments
 (0)