Changeset 95 for trunk/zoo-kernel
- Timestamp:
- Jan 30, 2011, 3:36:47 PM (14 years ago)
- Location:
- trunk/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/zoo_loader.c
r69 r95 110 110 map* tmpMap=NULL; 111 111 112 if(strncmp(cgiContentType,"text/xml",8)==0){ 112 if(strncmp(cgiContentType,"text/xml",8)==0 && 113 strncasecmp(cgiRequestMethod,"post",4)){ 113 114 char *buffer=new char[cgiContentLength+1]; 114 115 if(fread(buffer,1,cgiContentLength,cgiIn)){ -
trunk/zoo-kernel/zoo_service_loader.c
r94 r95 1358 1358 xmlFree(mv); 1359 1359 }else{ 1360 xmlSubstituteEntitiesDefault(1); 1361 xmlChar* tmp=xmlNodeListGetString(doc,cur4->xmlChildrenNode,0); 1360 xmlChar* tmp=xmlNodeListGetRawString(doc,cur4->xmlChildrenNode,0); 1362 1361 addToMap(tmpmaps->content,"value",(char*)tmp); 1363 1362 map* tmpv=getMap(tmpmaps->content,"value"); … … 1381 1380 free(tmpv->value); 1382 1381 tmpv->value=strdup(res); 1383 for(int j=0;j<strlen(tmpv->value);j++)1384 if(tmpv->value[j]==' ')1385 tmpv->value[j]='+';1386 1382 free(res); 1387 1383 xmlFree(tmp);
Note: See TracChangeset
for help on using the changeset viewer.