Project

General

Profile

Bug #25322 » 25322-47.patch

Ivan Dharma Kartolo, 2012-09-01 13:17

View differences:

typo3/sysext/openid/sv1/class.tx_openid_sv1.php (revision )
$result = '';
$claimedOpenIDIdentifier = $this->getSignedClaimedOpenIDIdentifier();
$pattern = '#^' . preg_quote($claimedOpenIDIdentifier, '#') . '/?$#';
$pattern = '#^' . preg_quote($claimedOpenIDIdentifier, '#') . '/?.*$#';
if (preg_match($pattern, $openIDIdentifier)) {
$result = $claimedOpenIDIdentifier;
(1-1/2)