Red Hat Bugzilla – Bug 497632
Issues with CGI handling
Last modified: 2010-03-30 04:15:19 EDT
Created attachment 341312 [details]
fix cups cgi issues
Description of problem:
There issues with CGI handling:
1. QUERY_STRING does not always get set. For example with:
QUERY_STRING is unset where it must be set to the whole substring following the "?".
RFC#3875 (CGI/1.1 specification) section 4.1.7 states:
The QUERY_STRING value provides the query-string part of the
Script-URI. (See section 3.3).
The server MUST set this variable; if the Script-URI does not include
a query component, the QUERY_STRING MUST be defined as an empty
2. Positional parameters are not always set. For example with:
positional parameters are not set where they should be:
Attached is a unified patch (also includes the fix in STR #2816).
Version-Release number of selected component (if applicable):
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.