diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-15 16:21:46 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-15 16:25:49 +0200 |
commit | c5f1b384b591009310370f0b06b10868d2d62741 (patch) | |
tree | e3277d15bdbc0e3efd5800fd8d556de724ba7bf7 /NEWS | |
parent | 17d4e86ddaadfc9b6452a13c15d03360fbf5ec26 (diff) | |
download | php-git-c5f1b384b591009310370f0b06b10868d2d62741.tar.gz |
Move shebang handling into the lexer
Instead of handling shebang lines by adjusting the file pointer in
individual SAPIs, move the handling into the lexer, where this is
both a lot simpler and more robust. Whether the shebang should be
skipped is controlled by CG(skip_shebang) -- we might want to do
that in more cases.
This fixed bugs #60677 and #78066.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,10 @@ PHP NEWS - Core: . Fixed bug #78212 (Segfault in built-in webserver). (cmb) + . Fixed bug #60677 (CGI doesn't properly validate shebang line contains #!). + (Nikita) + . Fixed bug #78066 (PHP eats the first byte of a program that comes from + process substitution). (Nikita) - Libxml: . Fixed bug #78279 (libxml_disable_entity_loader settings is shared between |