Changeset 996

Show
Ignore:
Timestamp:
02/03/04 02:54:19
Author:
miyagawa
Message:

0.04

Files:

Legend:

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

    r743 r996  
    330.04  Sat Aug 24 05:02:37 JST 2002 
    44        - Added test for 0.04 fix 
     5        * Now it works under tainting mode 
     6          Thanks to Ed Summers 
    57 
    680.03  Sat Aug 24 04:34:44 JST 2002 
  • Apache-Session-PHP/trunk/MANIFEST

    r742 r996  
    99t/01_session.t 
    1010t/02_trunc.t 
     11t/03_taint.t 
  • Apache-Session-PHP/trunk/lib/Apache/Session/PHP.pm

    r740 r996  
    33use strict; 
    44use vars qw($VERSION); 
    5 $VERSION = 0.03
     5$VERSION = 0.04
    66 
    77use Apache::Session; 
  • Apache-Session-PHP/trunk/lib/Apache/Session/Store/PHP.pm

    r740 r996  
    33use strict; 
    44use vars qw($VERSION); 
    5 $VERSION = 0.03
     5$VERSION = 0.04
    66 
    77use Apache::Session::File; 
     
    1818    my($self, $session) = @_; 
    1919    my $directory = $session->{args}->{SavePath} || '/tmp'; 
    20     return $directory.'/sess_'.$session->{data}->{_session_id}; 
     20    my $file = $directory.'/sess_'.$session->{data}->{_session_id}; 
     21    ## taint safe 
     22    ( $file ) = $file =~ /^(.*)$/; 
     23    return( $file ); 
    2124} 
    2225