Logo address

qsparse

目次

Usage

	qsparse [-r] [-s size] [query]

Description

This program analyzes query that is based on x-www-form-urlencoded format and places the results in environment variables.
For example, if we execute:
	qsparse 'name=alice&age=18'
then environment variables QS_name and QS_age are created, and their contents are 'alice' and '18' respectively.
Prefix QS_ are put to each names because we should protect system environment variables against malicious clients.

The meaning of options and argument are as follows:

qsparse is designed to process simple query, that is:
  1. in case of repeated names in query, qsparse put them into an array elements.
  2. there is an upper limit of the size of environment variable
  3. qsparse assumes the names in query consist of alpha-numeric