Changeset 10


Ignore:
Timestamp:
Sep 14, 2010, 8:34:38 PM (9 years ago)
Author:
djay
Message:

Small fix to check if only one parameter was passed and if the first one is XML string (starting by the '<' character).

Location:
trunk/zoo-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/zoo_loader.c

    r9 r10  
    164164   * one.
    165165   */
    166   if(strncasecmp(cgiRequestMethod,"post",4)==0 || count(tmpMap)==1){
     166  fprintf(stderr,"%i %i",tmpMap->value[0],'<');
     167  if(strncasecmp(cgiRequestMethod,"post",4)==0 ||
     168     (count(tmpMap)==1 && strncmp(tmpMap->value,"<",1)==0)){
    167169    /**
    168170     * First include the MetaPath and the ServiceProvider default parameters
  • trunk/zoo-kernel/zoo_service_loader.c

    r9 r10  
    110110  sprintf(tmp,"ZOO Kernel failed to process your request receiving signal %d = %s",sig,ssig);
    111111  errorException(NULL, tmp, "InternalError");
     112#ifdef DEBUG
    112113  fprintf(stderr,"Not this time!\n");
     114#endif
    113115  exit(0);
    114116}
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