- Timestamp:
- May 25, 2011, 2:54:50 PM (14 years ago)
- Location:
- trunk/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service_conf.l
r100 r214 41 41 42 42 attname [a-zA-Z0-9_\-]+ 43 attvalue1 [\^\*\+,;@a-zA-Z0-9_\-::.:" "\"\'/\\\(\) ]+43 attvalue1 [\^\*\+,;@a-zA-Z0-9_\-::.:" "\"\'/\\\(\)\t\|]+ 44 44 45 45 attvalue \"[^"]*\"|\'[^']*\'\(\) 46 46 47 whitespace [ ]{0,}48 whitesp [ ]47 whitespace [\t]{0,}|[ ]{0,} 48 whitesp [\t]|[ ] 49 49 newline [\r\n]|[\n] 50 50 newlines [\r\n]{1,}|[\n]{1,} -
trunk/zoo-kernel/zoo_service_loader.c
r127 r214 511 511 n = printGetCapabilitiesHeader(doc,"",m); 512 512 /** 513 * Strange, here we need to close stdout to ensure that no uneeded514 * char will be printed (parser issue ?)513 * Here we need to close stdout to ensure that not supported chars 514 * has been found in the zcfg and then printed on stdout 515 515 */ 516 516 int saved_stdout = dup(fileno(stdout)); … … 921 921 addToMap(tmpmaps->content,tmpn1,tmpv1+1); 922 922 else{ 923 if(strncasecmp(tmpv1+1,"http://",7)!=0 && 924 strncasecmp(tmpv1+1,"ftp://",6)!=0){ 925 char emsg[1024]; 926 sprintf(emsg,_("Unable to find a valid protocol to download the remote file %s"),tmpv1+1); 927 errorException(m,emsg,"InternalError"); 928 freeMaps(&m); 929 free(m); 930 free(REQUEST); 931 free(SERVICE_URL); 932 InternetCloseHandle(hInternet); 933 freeService(&s1); 934 free(s1); 935 return 0; 936 } 923 937 #ifdef DEBUG 924 938 fprintf(stderr,"REQUIRE TO DOWNLOAD A FILE FROM A SERVER : url(%s)\n",tmpv1+1);
Note: See TracChangeset
for help on using the changeset viewer.