From 32b5f8a1a3552f48d6e91c17b6d9d441c665a44d Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 6 Jun 2011 21:28:16 +0000 Subject: - Added new parameter parsing option (p - for valid path (string without null byte in the middle)) # The tests will be fixed in the next commits --- sapi/apache/php_apache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/apache/php_apache.c') diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index 58f1c1a5bc..d2159e9789 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -350,7 +350,7 @@ PHP_FUNCTION(virtual) int filename_len; request_rec *rr = NULL; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) { return; } -- cgit v1.2.1