com php-src: Add mbstring.regex_stack_limit to php. ini-*: php.ini-development php.ini-production
| From: | Stanislav Malyshev | Date: | Fri, 29 Mar 2019 05:57:07 +0000 |
| Subject: | com php-src: Add mbstring.regex_stack_limit to php. ini-*: php.ini-development php.ini-production | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105445@lists.php.net to get a copy of this message | ||
Commit: bc4cb277d3ddaecee8285b98d248380b454edbfd
Author: Stanislav Malyshev <stas@php.net> Thu, 28 Mar 2019 22:57:07 -0700
Parents: 738016bd884a339009e1af371eaba0fee60bf23b
Branches: PHP-7.3 PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bc4cb277d3ddaecee8285b98d248380b454edbfd
Log:
Add mbstring.regex_stack_limit to php.ini-*
Changed paths:
M php.ini-development
M php.ini-production
Diff:
diff --git a/php.ini-development b/php.ini-development
index fcc95fd..320cf17 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -1712,6 +1712,11 @@ zend.assertions = 1
; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
;mbstring.http_output_conv_mimetype=
+; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
+; to the pcre.recursion_limit for PCRE.
+; Default: 100000
+;mbstring.regex_stack_limit=100000
+
[gd]
; Tell the jpeg decode to ignore warnings and try to create
; a gd image. The warning will then be displayed as notices
diff --git a/php.ini-production b/php.ini-production
index 909bf6d..656ae67 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -1719,6 +1719,11 @@ zend.assertions = -1
; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
;mbstring.http_output_conv_mimetype=
+; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
+; to the pcre.recursion_limit for PCRE.
+; Default: 100000
+;mbstring.regex_stack_limit=100000
+
[gd]
; Tell the jpeg decode to ignore warnings and try to create
; a gd image. The warning will then be displayed as notices