|
|
@ -1,4 +1,4 @@ |
|
|
/* Generated by re2c 0.5 on Sat Aug 10 17:30:38 2002 */ |
|
|
|
|
|
|
|
|
/* Generated by re2c 0.5 on Tue Aug 20 21:52:13 2002 */ |
|
|
#line 1 "/usr/src/php4/ext/standard/url_scanner_ex.re" |
|
|
#line 1 "/usr/src/php4/ext/standard/url_scanner_ex.re" |
|
|
/* |
|
|
/* |
|
|
+----------------------------------------------------------------------+ |
|
|
+----------------------------------------------------------------------+ |
|
|
@ -886,10 +886,8 @@ int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len |
|
|
smart_str val; |
|
|
smart_str val; |
|
|
|
|
|
|
|
|
if (! BG(url_adapt_state_ex).active) { |
|
|
if (! BG(url_adapt_state_ex).active) { |
|
|
int chunk_size = 4096; /* XXX where should we get chunk_size from? */ |
|
|
|
|
|
|
|
|
|
|
|
php_url_scanner_ex_activate(TSRMLS_C); |
|
|
php_url_scanner_ex_activate(TSRMLS_C); |
|
|
php_ob_set_internal_handler(php_url_scanner_output_handler, chunk_size, "URL-Rewriter", 1 TSRMLS_CC); |
|
|
|
|
|
|
|
|
php_ob_set_internal_handler(php_url_scanner_output_handler, 0, "URL-Rewriter", 1 TSRMLS_CC); |
|
|
BG(url_adapt_state_ex).active = 1; |
|
|
BG(url_adapt_state_ex).active = 1; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|