diff options
| author | Stefan Esser | 2014-02-11 23:48:17 +0100 |
|---|---|---|
| committer | Stefan Esser | 2014-02-11 23:48:17 +0100 |
| commit | 3b24f87e1e0673a2a9c6bfcfa09d91b19bcaaf3a (patch) | |
| tree | 18ce7797e2b82779749e26b49294db1e65e78f27 | |
| parent | 2a9280e998de15a8983ed0bb4e8811398aadc78c (diff) | |
Do not forget to unhook.
| -rw-r--r-- | post_handler.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
| 174 | { | 174 | { |
| 175 | zend_ini_entry *ini_entry; | 175 | zend_ini_entry *ini_entry; |
| 176 | 176 | ||
| 177 | #if PHP_VERSION_ID >= 50400 | ||
| 178 | /* unhook the php_rfc1867_callback */ | ||
| 179 | php_rfc1867_callback = old_rfc1867_callback; | ||
| 180 | #endif | ||
| 177 | /* Restore to an empty destructor */ | 181 | /* Restore to an empty destructor */ |
| 178 | SG(known_post_content_types).pDestructor = NULL; | 182 | SG(known_post_content_types).pDestructor = NULL; |
| 179 | 183 | ||
