From 3b24f87e1e0673a2a9c6bfcfa09d91b19bcaaf3a Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Tue, 11 Feb 2014 23:48:17 +0100 Subject: Do not forget to unhook. --- post_handler.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'post_handler.c') diff --git a/post_handler.c b/post_handler.c index fb1bb29..e0fb672 100644 --- a/post_handler.c +++ b/post_handler.c @@ -174,6 +174,10 @@ void suhosin_unhook_post_handlers(TSRMLS_D) { zend_ini_entry *ini_entry; +#if PHP_VERSION_ID >= 50400 + /* unhook the php_rfc1867_callback */ + php_rfc1867_callback = old_rfc1867_callback; +#endif /* Restore to an empty destructor */ SG(known_post_content_types).pDestructor = NULL; -- cgit v1.3