Ignore:
Timestamp:
Feb 11, 2013, 1:52:15 PM (11 years ago)
Author:
djay
Message:

Add support for Python-3.3.0. Fix issue with cache handling. Fix issue with Cookie identifier detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r391 r392  
    22 * Author : Gérald FENOY
    33 *
    4  *  Copyright 2008-2012 GeoLabs SARL. All rights reserved.
     4 *  Copyright 2008-2013 GeoLabs SARL. All rights reserved.
    55 *
    66 * Permission is hereby granted, free of charge, to any person obtaining a copy
     
    272272#endif
    273273#endif
    274 
    275274    if( so != NULL ) {
    276275#ifdef DEBUG
     
    378377      char* errstr = dlerror();
    379378#endif
    380       sprintf(tmps,_("C Library can't be loaded %s \n"),errstr);
     379      sprintf(tmps,_("C Library can't be loaded %s"),errstr);
    381380      map* tmps1=createMap("text",tmps);
    382381      printExceptionReportResponse(m,tmps1);
     
    18961895  }
    18971896 
    1898   //if(CHECK_INET_HANDLE(hInternet))
     1897
     1898  //  if(CHECK_INET_HANDLE(hInternet))
    18991899  InternetCloseHandle(hInternet);
    19001900
     
    20392039      ;
    20402040#endif
    2041           char* toto=(char*)malloc((strlen(mapcs->name)+strlen(mapcs->value)+2)*sizeof(char));
     2041      char* toto=(char*)malloc((strlen(mapcs->name)+strlen(mapcs->value)+2)*sizeof(char));
    20422042      sprintf(toto,"%s=%s",mapcs->name,mapcs->value);
    2043           putenv(toto);
     2043      putenv(toto);
    20442044#ifdef DEBUG
    20452045      fflush(stderr);
     
    21112111      token=strtok_r(cgiCookie,";",&saveptr);
    21122112      while(token!=NULL){
    2113         if(strcasestr(token,"ID")!=NULL){
     2113        if(strcasestr(token,"ID=")!=NULL){
    21142114          if(tcook!=NULL)
    21152115            free(tcook);
     
    21202120      }
    21212121    }else{
    2122       if(strstr(cgiCookie,"=")!=NULL && strcasestr(cgiCookie,"ID")!=NULL){
     2122      if(strstr(cgiCookie,"=")!=NULL && strcasestr(cgiCookie,"ID=")!=NULL){
    21232123        tcook=strdup(cgiCookie);
    21242124        hasValidCookie=1;
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png