Show
Ignore:
Timestamp:
12/07/09 13:35:05 (4 years ago)
Author:
benoitg
Message:

Security fix: Fix #674

Files:
1 modified

Legend:

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

    r1428 r1433  
    7878            require_once(NODE_LIST_CLASSES_DIR . "/NodeList" . $nodeListType . ".php"); 
    7979        } else { 
    80             throw new Exception(_("The node list type '$nodeListType' is not supported!")); 
     80            throw new Exception(sprintf(_("The node list type '%s' is not supported!"), htmlspecialchars($nodeListType))); 
    8181        } 
    8282