Commit d7a065fa authored by haemmer's avatar haemmer
Browse files

Added a check in isVerifiedReturnURL

parent c96af4b1
......@@ -415,9 +415,9 @@ function isVerifiedReturnURL($entityID, $returnURL) {
return true;
if ($useACURLsForReturnParamCheck){
if ($useACURLsForReturnParamCheck && isset($SProviders[$entityID]['ACURL'])){
$returnURLHostName = getHostNameFromURI($returnURL);
foreach($SProviders[$entityID]['DSURL'] as $ACURL){
foreach($SProviders[$entityID]['ACURL'] as $ACURL){
if (getHostNameFromURI($ACURL) == $returnURLHostName){
return true;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment