You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/05/30 18:18:41 UTC
DO NOT REPLY [Bug 12655] -
SSI "include virtual" sometimes causing QUERY_STRING variable to be garbage.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=12655>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=12655
apache-bugs@rojer.pp.ru changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CLOSED |REOPENED
Resolution|WORKSFORME |
------- Additional Comments From apache-bugs@rojer.pp.ru 2005-05-30 18:18 -------
the bug still exists in 2.0.54.
the problem is that during subrequest processing, QUERY_STRING is allocated from
subrequest's own r->pool that gets destroyed later, invalidating the table entry
in the global suprocess_env.
apr_pool_join(r->main->pool, r->pool); which, if i'm correct, is supposed to
take care of subrequest's pool lifetime, is effectively a nop when compiled
without APR_POOL_DEBUG (--enable-pool-debug).
there might be other consequences of assuming extended lifetime of subrequest's
pool, but in regard to QUERY_STRING i have made a small patch that i attach to
this bug.
having investigated this i find the issue obvious enough, but i can arrange a
testcase if requested.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org