Changeset 2730

Show
Ignore:
Timestamp:
06/01/2008 06:35:40 AM (6 months ago)
Author:
armen
Message:

Allowed underscore in session name. closes #622

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Session.php

    r2667 r2730  
    8989 
    9090                        // Set the session name after having checked it 
    91                         if ( ! ctype_alnum(self::$config['name']) OR ctype_digit(self::$config['name'])) 
     91                        if ( ! valid::id(self::$config['name'])) 
    9292                                throw new Kohana_Exception('session.invalid_session_name', self::$config['name']); 
    9393