SimpleSAML_Utilities::normalizeURL PHP Method

normalizeURL() public static method

Deprecation: This method will be removed in SSP 2.0. Please use SimpleSAML\Utils\HTTP::normalizeURL() instead.
public static normalizeURL ( $url )
    public static function normalizeURL($url)
    {
        return \SimpleSAML\Utils\HTTP::normalizeURL($url);
    }

Usage Example

Exemplo n.º 1
0
<?php

if (isset($_REQUEST['retryURL'])) {
    $retryURL = (string) $_REQUEST['retryURL'];
    $retryURL = SimpleSAML_Utilities::normalizeURL($retryURL);
} else {
    $retryURL = NULL;
}
$globalConfig = SimpleSAML_Configuration::getInstance();
$t = new SimpleSAML_XHTML_Template($globalConfig, 'core:no_cookie.tpl.php');
$t->data['retryURL'] = $retryURL;
$t->show();
All Usage Examples Of SimpleSAML_Utilities::normalizeURL