Changeset 286


Ignore:
Timestamp:
Aug 2, 2011, 1:04:37 PM (7 years ago)
Author:
djay
Message:

Fix behavior for empty post requests (cf. #57).

File:
1 edited

Legend:

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

    r284 r286  
    9898         }
    9999       }
    100        tmpMap=createMap("request",res);
     100       if(res==NULL){
     101         return errorException(NULL,"ZOO-Kernel failed to process your request cause the request was emtpty.","InternalError");
     102       }else
     103         tmpMap=createMap("request",res);
    101104    }else{
    102105      char *buffer=new char[cgiContentLength+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