Skip to contentSkip to conversation

about QUERY_STRING parsing

DISCUSSION Alphex K. 2 participants 2 messages Mar 26, 2004 – Mar 29, 2004

lore
Share & tools
lore

Alphex K.

author
#0 lore raw

Hi guys,
I'm write a content management system in C language.

and I have a question - what the best method to parse QUERY_STRING with decode web charasters? I need it to do without tcl.h or any libs.

---===---
Alphex Kaanoken
Senior developer of Crew IT research labs
web: http://crew.org.ru
mailto:[email protected]

#1 lore raw
Quoted 5 lines · Alphex K.

Hi guys,
I'm write a content management system in C language.

and I have a question - what the best method to parse QUERY_STRING with decode web charasters? I need it to do without tcl.h or any libs.

<http://cvs.apache.org/viewcvs.cgi/*checkout*/apache-1.3/cgi-src/Attic/util.c>
<http://cvs.apache.org/viewcvs.cgi/*checkout*/apache-1.3/cgi-src/Attic/util.h>
You can include this code in your project if you follow the Apache LICENSE
terms: <http://www.apache.org/LICENSE.txt>

Note that this include some security fixes that many older C examples miss. See
<http://www.stanford.edu/group/itss-ccs/security/Advisories/96-125.html> for an 1996 security advisory.