diff --git a/docs/simplesamlphp-reference-idp-hosted.txt b/docs/simplesamlphp-reference-idp-hosted.txt index 8afd8ea0c7f0fcf98a33de6ae1f3c635c79d8932..7cfe0da5ee6dcb296855032a520981d4131bb390 100644 --- a/docs/simplesamlphp-reference-idp-hosted.txt +++ b/docs/simplesamlphp-reference-idp-hosted.txt @@ -59,8 +59,6 @@ Common options `privacypolicy` : This is an absolute URL for where an user can find a privacypolicy. If set, this will be shown on the consent page. - `%SPENTITYID%` in the URL will be replaced with the entity id of - the service the user is accessing. : Note that this option also exists in the SP-remote metadata, and any value in the SP-remote metadata overrides the one configured diff --git a/docs/simplesamlphp-reference-sp-remote.txt b/docs/simplesamlphp-reference-sp-remote.txt index 00f6c3a8df4ee426df30bf17d6c4c07e3b89560f..96b698d2f22064ea54551a5eb769685beafa0f11 100644 --- a/docs/simplesamlphp-reference-sp-remote.txt +++ b/docs/simplesamlphp-reference-sp-remote.txt @@ -61,8 +61,6 @@ and Shibboleth 1.3 protocol: `privacypolicy` : This is an absolute URL for where an user can find a privacypolicy for this SP. If set, this will be shown on the consent page. - `%SPENTITYID%` in the URL will be replaced with the entity id of - this service provider. : Note that this option also exists in the IdP-hosted metadata. This entry in the SP-remote metadata overrides the option in the diff --git a/modules/consent/www/getconsent.php b/modules/consent/www/getconsent.php index c93d341324b87ede353388e83162929bce3beb7f..98399310526fa9708c413b76630f9d818358a18d 100644 --- a/modules/consent/www/getconsent.php +++ b/modules/consent/www/getconsent.php @@ -124,10 +124,6 @@ if (array_key_exists('privacypolicy', $state['Destination'])) { } else { $privacypolicy = FALSE; } -if($privacypolicy !== FALSE) { - $privacypolicy = str_replace('%SPENTITYID%', urlencode($spentityid), - $privacypolicy); -} $t->data['sppp'] = $privacypolicy;