Changeset 96 for trunk/thirds


Ignore:
Timestamp:
Jan 30, 2011, 3:40:39 PM (14 years ago)
Author:
djay
Message:

Fix the cgic library to avoid removing '+' characters form the input XML file or value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/thirds/cgic206/cgic.c

    r78 r96  
    144144        if(strcmp(cgiQueryString,"")==0 && argc>=2){
    145145                cgiQueryString=argv[1];
    146         }else
    147                 fprintf(stderr,"cgiQueryString : %s\n",cgiQueryString);
     146        }
    148147        cgiGetenv(&cgiRemoteHost, "REMOTE_HOST");
    149148        cgiGetenv(&cgiRemoteAddr, "REMOTE_ADDR");
     
    11111110                        if (ch == '%') {
    11121111                                escapeState = cgiEscapeFirst;
    1113                         } else if (ch == '+') {
     1112                        } /*else if (ch == '+') {
    11141113                                s[dstPos++] = ' ';
    1115                         } else {
     1114                        } */else {
    11161115                                s[dstPos++] = ch;       
    11171116                        }
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