Skip to content

Commit 9d29283

Browse files
madmajestroiluuu1994
authored andcommitted
Fix filtering of INI directives to respect leading whitespaces
Directives are now correctly filtered out if the line in the php.ini file begins with whitespace characters. Closes GH-19348
1 parent d0fad34 commit 9d29283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Makefile.global

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ PHP_TEST_SHARED_EXTENSIONS = ` \
9090
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d zend_extension=$(top_builddir)/modules/$$dlname"; \
9191
done; \
9292
fi`
93-
PHP_DEPRECATED_DIRECTIVES_REGEX = '^(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
93+
PHP_DEPRECATED_DIRECTIVES_REGEX = '^[\t\ ]*(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
9494

9595
test: all
9696
@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \

0 commit comments

Comments
 (0)