Bug 20944 - mod_ext_filter doesn't set all CGI variables
Summary: mod_ext_filter doesn't set all CGI variables
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_ext_filter (show other bugs)
Version: 2.0.46
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
: 22556 (view as bug list)
Depends on:
Reported: 2003-06-20 10:14 UTC by Neil Fraser
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)

add call to ap_add_common_vars() (657 bytes, patch)
2003-07-11 22:51 UTC, Jeff Trawick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Fraser 2003-06-20 10:14:08 UTC
Under normal cicumstances, when mod_ext_filter is called there are only 11
environment variables set.  Among the missing ones is HTTP_REFERER.

However, when mod_ext_filter is called on an SHTML file, the full set of 37
environment variables set.
Comment 1 Jeff Trawick 2003-07-11 11:12:49 UTC
Note that mod_include sets additional variables in case the SSI file itself
causes a script to be executed, hence the difference in available variables
based on whether or not your external filter was processing the result of
Comment 2 Jeff Trawick 2003-07-11 22:50:15 UTC
plz try the patch that is forthcoming
Comment 3 Jeff Trawick 2003-07-11 22:51:08 UTC
Created attachment 7262 [details]
add call to ap_add_common_vars()
Comment 4 Neil Fraser 2003-07-12 21:41:36 UTC
> plz try the patch that is forthcoming


This bug was completely blocking my project with no workaround possible.  Thank
you very much for fixing this.  The project in question is here:
Comment 5 Jeff Trawick 2003-07-14 15:13:39 UTC
fix committed to 2.1-dev, proposed for merging into 2.0.48-dev

Thanks for your report, and thanks for using Apache!

(cute tool, and its nice to see mod_ext_filter put to such use!)
Comment 6 Jeff Trawick 2003-08-22 11:06:09 UTC
*** Bug 22556 has been marked as a duplicate of this bug. ***