Changeset 810

Show
Ignore:
Timestamp:
11/22/02 02:38:06
Author:
miyagawa
Message:

0.02

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Apache-Session-Generate-ModUsertrack/trunk/Changes

    r285 r810  
    11Revision history for Perl extension Apache::Session::Generate::ModUsertrack. 
     2 
     30.02  Fri Nov 22 02:35:45 JST 2002 
     4        - Fixed regexp to match hostnames in Cookie, when used with 
     5          HostnameLookups On. (Thanks to Ron Mahoney) 
    26 
    370.01  Wed Oct 10 23:50:07 2001 
  • Apache-Session-Generate-ModUsertrack/trunk/lib/Apache/Session/Generate/ModUsertrack.pm

    r285 r810  
    33use strict; 
    44use vars qw($VERSION); 
    5 $VERSION = '0.01'
     5$VERSION = 0.02
    66 
    77use CGI::Cookie; 
     
    2424        # still bad luck 
    2525        require Carp; 
    26         Carp::croak 'no cookie found. Make sure mod_usertrack is enabled.'
     26        Carp::croak('no cookie found. Make sure mod_usertrack is enabled.')
    2727    } 
    2828    $session->{data}->{_session_id} = $cookies{$name}->value; 
     
    3333 
    3434    # remote_host (or remote_addr) + int 
    35     $session->{data}->{_session_id} =~ /^[\d\w\.]+\.\d+$/ 
     35    $session->{data}->{_session_id} =~ /^[\d\w\.-]+\.\d+$/ 
    3636        or die "invalid session id: $session->{data}->{_session_id}"; 
    3737} 
     
    4242=head1 NAME 
    4343 
    44 Apache::Session::Generate::ModUsertrack - mod_usertrack for session ID generation 
     44Apache::Session::Generate::ModUsertrack - uses mod_usertrack for session ID generation 
    4545 
    4646=head1 SYNOPSIS