]> granicus.if.org Git - php/commitdiff
Sync with fix for #44394
authorFelipe Pena <felipe@php.net>
Wed, 12 Mar 2008 19:35:24 +0000 (19:35 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 12 Mar 2008 19:35:24 +0000 (19:35 +0000)
ext/standard/url_scanner_ex.re

index 462dd05c56bb1ddb45625885cbd96f57e8ce744c..fe020d9154c294158125f00726ec4bd4fadc3218 100644 (file)
@@ -431,7 +431,7 @@ static void php_url_scanner_output_handler(char *output, uint output_len, char *
        size_t len;
 
        if (BG(url_adapt_state_ex).url_app.len != 0) {
-               *handled_output = url_adapt_ext(output, output_len, &len, (zend_bool) (mode & PHP_OUTPUT_HANDLER_END ? 1 : 0) TSRMLS_CC);
+               *handled_output = url_adapt_ext(output, output_len, &len, (zend_bool) (mode & (PHP_OUTPUT_HANDLER_END | PHP_OUTPUT_HANDLER_CONT) ? 1 : 0) TSRMLS_CC);
                if (sizeof(uint) < sizeof(size_t)) {
                        if (len > UINT_MAX)
                                len = UINT_MAX;