#
844a2dd6 |
| 18-Aug-2020 |
Christoph M. Becker |
Fix #79986: str_ireplace bug with diacritics characters `tolower()` returns an `int`, so we must not convert to `char` which may be `signed` and as such may be subject to overflow (actua
Fix #79986: str_ireplace bug with diacritics characters `tolower()` returns an `int`, so we must not convert to `char` which may be `signed` and as such may be subject to overflow (actually, implementation defined behavior). Closes GH-6007
show more ...
|
#
9d9dffe6 |
| 11-Aug-2020 |
Nikita Popov |
Fixed bug #79951 One branch did not release tmp_replace_entry_str. Also reduce the scope of some variables.
|
#
ce149b0c |
| 13-Jul-2020 |
Evgeny Stepanischev |
Fixed bug #79849 Closes GH-5853.
|
#
a72c53a0 |
| 10-Jul-2020 |
Nikita Popov |
Fixed bug #79817 Use *_IND macros in a few places in string.c.
|
#
372b678e |
| 24-Jan-2020 |
Christoph M. Becker |
Yet another check for php_strip_tags_ex()
|
#
2dc170e2 |
| 23-Jan-2020 |
Stanislav Malyshev |
More checks for php_strip_tags_ex
|
#
0f79b1bf |
| 21-Jan-2020 |
Stanislav Malyshev |
Fix #79099: OOB read in php_strip_tags_ex
|
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12 |
|
#
600f1f89 |
| 17-Nov-2019 |
Christoph M. Becker |
Fix #78814: strip_tags allows / in tag name => whitelist bypass When normalizing tags to check whether they are contained in the set of allowable tags, we must not strip slashes, unless
Fix #78814: strip_tags allows / in tag name => whitelist bypass When normalizing tags to check whether they are contained in the set of allowable tags, we must not strip slashes, unless they come immediately after the opening `<`, or immediately before the closing `>`.
show more ...
|
#
fee38633 |
| 26-Nov-2019 |
Christoph M. Becker |
Fix #78840: imploding $GLOBALS crashes We add support for IS_INDIRECT zvals to implode().
|
Revision tags: php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3 |
|
#
6fcde56b |
| 30-Sep-2019 |
Nikita Popov |
Fixed bug #78612
|
Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2 |
|
#
a87ef5e3 |
| 02-Aug-2019 |
Christoph M. Becker |
Fix #78346: strip_tags no longer handling nested php tags When the strip tags state machine has been flattened, an if statement has mistakenly been treated as else if. We fix this, and
Fix #78346: strip_tags no longer handling nested php tags When the strip tags state machine has been flattened, an if statement has mistakenly been treated as else if. We fix this, and also simplify a bit right away.
show more ...
|
Revision tags: php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29 |
|
#
f3ff72e5 |
| 30-Apr-2019 |
Christoph M. Becker |
Fix #77937: preg_match failed On some recent Windows systems, ext\pcre\tests\locales.phpt fails, because 'pt_PT' is accepted by `setlocale()`, but not properly supported by the ctype
Fix #77937: preg_match failed On some recent Windows systems, ext\pcre\tests\locales.phpt fails, because 'pt_PT' is accepted by `setlocale()`, but not properly supported by the ctype functions, which are used internally by PCRE2 to build the localized character tables. Since there appears to be no way to properly check whether a given locale is fully supported, but we want to minimize BC impact, we filter out typical Unix locale names, except for a few cases which have already been properly supported on Windows. This way code like setlocale(LC_ALL, 'de_DE.UTF-8', 'de_DE', 'German_Germany.1252'); should work like on older Windows systems. It should be noted that the locale names causing trouble are not (yet) documented as valid names anyway, see <https://docs.microsoft.com/en-us/cpp/c-runtime-library/locale-names-languages-and-country-region-strings?view=vs-2019>.
show more ...
|
#
69bab6e5 |
| 13-May-2019 |
Christoph M. Becker |
Fix #78003: strip_tags output change since PHP 7.3 A refactoring of the strip tags state machine[1] missed the special treatment of `depth > 0` when a `>` is encountered in state 2 or 3.
Fix #78003: strip_tags output change since PHP 7.3 A refactoring of the strip tags state machine[1] missed the special treatment of `depth > 0` when a `>` is encountered in state 2 or 3. We re-add it for BC reasons. [1] <http://git.php.net/?p=php-src.git;a=commit;h=5cf64742773ddbf9af69d962a4d12b567fcf0084>
show more ...
|
Revision tags: php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1 |
|
#
d7b5954f |
| 08-Apr-2019 |
Nikita Popov |
Fixed bug #77853
|
Revision tags: php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1 |
|
#
986b9b5a |
| 18-Jan-2019 |
Nikita Popov |
Add additional no_sanitize_address attributes To fix bug #77447 in release mode as well.
|
Revision tags: php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5 |
|
#
9afce019 |
| 01-Nov-2018 |
Zeev Suraski |
Future-proof email addresses
|
Revision tags: php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4 |
|
#
902d39a3 |
| 13-Oct-2018 |
Peter Kokot |
Trim trailing whitespace in source code files
|
Revision tags: php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3 |
|
#
8d3f8ca1 |
| 03-Jul-2018 |
Peter Kokot |
Remove unused Git attributes ident The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last use
Remove unused Git attributes ident The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
show more ...
|
#
f4a9da38 |
| 04-Jul-2018 |
Nikita Popov |
Deprecate non-string needles in string search functions Part of https://wiki.php.net/rfc/deprecations_php_7_3.
|
#
5cf64742 |
| 16-Jul-2018 |
Dmitry Stogov |
Flatten strip_tags state machine (GCC overoptimized this function, producing enormpous amount of code).
|
#
67b4c337 |
| 09-Jul-2018 |
Dmitry Stogov |
Uze ZVAL_COPY_DEREF() instead of ZVAL_DEREF() and ZVAL_COPY()
|
#
14e6c0cb |
| 03-Jul-2018 |
Dmitry Stogov |
str_replace() micro-optimization
|
#
dd932f7e |
| 28-Jun-2018 |
Dmitry Stogov |
Changed php_add[c]slashes prototypes (removed should_free argument)
|
Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1 |
|
#
5eb1f92f |
| 28-May-2018 |
Dmitry Stogov |
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
|
Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1 |
|
#
524f5245 |
| 08-May-2018 |
Dmitry Stogov |
Avoid useless checks, using zend_string_efree(), in cases where the string is known to be a temporary allocated zend_string.
|