richter     2004/03/07 11:44:14

  Modified:    .        Changes.pod eputil.c
               podsrc   Config.spod
  Log:
  fix cookie expires
  
  Revision  Changes    Path
  1.233     +2 -0      embperl/Changes.pod
  
  Index: Changes.pod
  ===================================================================
  RCS file: /home/cvs/embperl/Changes.pod,v
  retrieving revision 1.232
  retrieving revision 1.233
  diff -u -r1.232 -r1.233
  --- Changes.pod       7 Mar 2004 19:36:35 -0000       1.232
  +++ Changes.pod       7 Mar 2004 19:44:14 -0000       1.233
  @@ -20,6 +20,8 @@
        Reported by Edwin Ramirez.
      - Fixed problem with <a /> and <option /> in xml output mode.
        Reported by Jochen Topf.   
  +   - Fixed problem with relativ cookie expires time.
  +     Patch from Torsten Luettgert.
   
   =head1 2.0b10 23. Jan 2004
   
  
  
  
  1.37      +4 -3      embperl/eputil.c
  
  Index: eputil.c
  ===================================================================
  RCS file: /home/cvs/embperl/eputil.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- eputil.c  23 Jan 2004 06:50:55 -0000      1.36
  +++ eputil.c  7 Mar 2004 19:44:14 -0000       1.37
  @@ -1968,7 +1968,7 @@
       else if (*time_str == '+') {
        ++time_str;
       }
  -    else if (stricmp(time_str, "now")) {
  +    else if (!stricmp(time_str, "now")) {
        /*ok*/
       }
       else {
  @@ -2009,7 +2009,8 @@
       when = expire_calc(sTime);
   
       if (!when) {
  -     return sTime ;
  +     strcpy( sResult, sTime );
  +     return sResult ;
       }
   
       tms = gmtime(&when);
  
  
  
  1.10      +1 -1      embperl/podsrc/Config.spod
  
  Index: Config.spod
  ===================================================================
  RCS file: /home/cvs/embperl/podsrc/Config.spod,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Config.spod       22 Jan 2004 22:44:13 -0000      1.9
  +++ Config.spod       7 Mar 2004 19:44:14 -0000       1.10
  @@ -377,7 +377,7 @@
           now                               immediately
           +3M                               in three months
           +10y                              in ten years time
  -        Thursday, 25-Apr-1999 00:40:33 GMT  at the indicated time & date
  +        Thu, 25-Apr-1999 00:40:33 GMT     at the indicated time & date
   
   
   =head2 *CFG $application / Embperl_COOKIE_SECURE / cookie_secure / 2.0b9 / no / at 
the end of the session / Session Handling
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to