httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48964] FcgidPassHeader Expected Behavior
Date Tue, 23 Mar 2010 13:00:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48964

--- Comment #1 from Jeff Trawick <trawick@apache.org> 2010-03-23 13:00:35 UTC ---
FWLIW, the current behavior is fully documented at

http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidpassheader

Not all "standard" environment variables are prefixed with "HTTP_"
(CONTENT_TYPE is one example) so it isn't abundantly clear to me that
non-standard environment variables should be prefixed with "HTTP_".

Interestingly, according to that mod_fastcgi post/patch, mod_fastcgi had
similar behavior until 2008.

It is certainly bad that the header names aren't folded to uppercase when
creating the envvar name.

Meanwhile, mod_fcgid users somehow have working configs/apps currently, and any
change could break an application.

This probably needs to be resolved with a directive like FcgidPassHeaderOptions
with keywords like CasePreserve/UpCase and HttpPrefix/NoPrefix, with defaults
which preserve the current behavior.  At some major release boundary in the
future the defaults can change to something more appropriate (definitely
fold-to-uppercase, possibly add "HTTP_" prefix).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message