]> granicus.if.org Git - php/commit
Fix bug #60768 Output buffer not discarded
authorMichael Wallner <mike@php.net>
Mon, 16 Jan 2012 17:51:35 +0000 (17:51 +0000)
committerMichael Wallner <mike@php.net>
Mon, 16 Jan 2012 17:51:35 +0000 (17:51 +0000)
commit6b31413b13665cb0fda85aa3cb26b0f701a2d04e
treed34591d7b3175f1d19a30905f98bf190655375e0
parent4c414c12a3325eeb6d34d1cb5d65e5bf42700415
Fix bug #60768  Output buffer not discarded

 in php_output_handler_op():
  * if appending to buffer succeeds, just return HANDLER_NO_DATA
    and do nothing else
  * if a zero sized string or true is returned from the handler
    function, reset the context as well as the handler's buffer
NEWS
main/output.c
tests/output/bug60768.phpt [new file with mode: 0644]