linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Taylor <michael.taylor@ec.gc.ca>
To: "Alphex K." <alphex@crew.org.ru>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: about QUERY_STRING parsing
Date: Mon, 29 Mar 2004 10:06:30 -0500	[thread overview]
Message-ID: <40683B76.5090405@ec.gc.ca> (raw)
In-Reply-To: <20040326201748.59da2b24.alphex@crew.org.ru>

Alphex K. wrote:
> 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.


      reply	other threads:[~2004-03-29 15:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-26 17:17 about QUERY_STRING parsing Alphex K.
2004-03-29 15:06 ` Michael Taylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40683B76.5090405@ec.gc.ca \
    --to=michael.taylor@ec.gc.ca \
    --cc=alphex@crew.org.ru \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).