Show
Ignore:
Timestamp:
09/12/05 15:02:57 (8 years ago)
Author:
benoitg
Message:

2005-09-12 Benoit Gr�goire <bock@…>

  • schema_validate.php: Fix a bug version 26. The conversion of the old account_origin as a parameter to the authenticator was wrong. To fix it manually if you already ran the script, you must quote the parameter in column network_authenticator_params in the networks table.
  • Network.php: Fix improper quoting of Authenticator arguments.
  • RssPressReview?.php: Make expansion of today's item optionnal.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Network.php

    r748 r752  
    389389                        throw new Exception("Network::getAuthenticator():  Security error:  The parameters passed to the constructor of the authenticator are potentially unsafe"); 
    390390                } 
    391                 $objstring = 'return new '.$this->mRow['network_authenticator_class']."('".$this->mRow['network_authenticator_params']."');"; 
     391                $objstring = 'return new '.$this->mRow['network_authenticator_class']."(".$this->mRow['network_authenticator_params'].");"; 
    392392                return eval ($objstring); 
    393393        }