Convert fltr_cache into a function. Enable output buffering which had been commented out for unknwon reasons.

This commit is contained in:
Uriel 2009-02-06 22:09:32 +01:00
parent 9ff545ec83
commit 2e1f0dd32f
5 changed files with 44 additions and 42 deletions

View file

@ -3,6 +3,7 @@
. ./werclib.rc
. ./wercconf.rc
. ./corehandlers.rc
. ./fltr_cache.rc
cd ..
forbidden_uri_chars='[^a-zA-Z0-9_+\-\/\.]'
@ -105,7 +106,7 @@ fn werc_exec_request {
if(! ~ $#debug 0)
dprint $"SERVER_NAME^$"REQUEST_URI - $"HTTP_USER_AGENT - $"REQUEST_METHOD - $"handler_body_main - $"master_template
template $headers $master_template #| awk_buffer
template $headers $master_template | awk_buffer
echo $res_tail
}