[erlang-bugs] Miss the key 'query_string' in the environment parameter when a ESI callback is called.

Nicolas Charpentier <>
Sun Aug 24 14:00:37 CEST 2008


Hi
Using the ESI feature of OTP R12B-3, I'm facing a bug.

I'm doing 'GET' requests and I'm expecting a key 'query_string' in the 
Env parameter passed to my callback module as described in the 
documentation (http://www.erlang.org/doc/man/mod_esi.html#Module:Function-3)

Obviously this value isn't mandatory as I can use the Input value but it 
seems to have a lack of documentation or a regression since OTP R10B-5.

I didn't tested with R10B-5 but looking at mod_esi.erl code the 
query_string value seemed to exist in the Env parameters.


I attach a patch to fix the problem.

Regards,

----
Nicolas Charpentier
http://charpi.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_mod_esi.patch
Type: text/x-diff
Size: 685 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20080824/eaa20110/attachment.bin>


More information about the erlang-bugs mailing list