osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62855] Segfault in mod_include + printenv + ErrorDocument


https://bz.apache.org/bugzilla/show_bug.cgi?id=62855

--- Comment #1 from Micha Lenk <micha@xxxxxxxxx> ---
The reason why the environment variable REDIRECT_REQUEST_METHOD exists but
isn't set is because right before the internal redirect happens r->method is
unconditionally backed up to the variable REQUEST_METHOD:

195              * This redirect needs to be a GET no matter what the original
196              * method was.
197              */
198             apr_table_setn(r->subprocess_env, "REQUEST_METHOD", r->method);

(File modules/http/http_request.c, SVN rev. 1844781)

Later in the function internal_internal_redirect this variable gets renamed to
REDIRECT_REQUEST_METHOD without changing its value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx