Re: [RFC][VOTE] New operator (short tag) for context-dependent escaping
| From: | Christoph Becker | Date: | Mon, 01 Aug 2016 12:25:36 +0000 |
| Subject: | Re: [RFC][VOTE] New operator (short tag) for context-dependent escaping | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94777@lists.php.net to get a copy of this message | ||
On 30.07.2016 at 17:09, Michael Vostrikov wrote:
> Hello. The RFC 'New operator (short tag) for context-dependent escaping' is
> now in voting phase.
>
> https://wiki.php.net/rfc/escaping_operator
I just checked out the cde_new branch to verify the behavior of some
potential edge cases, but after building I've got segfaults even for
sapi/cli/php -n -r ""
That's not a problem per se, as the RFC process doesn't even require an
implementation before voting. :-) Being able to play around with an
implementation would be unlikely to change my vote anyway.
My *main* issue with this RFC is that I don't consider it to enhance
security. Forgetting to call the proper escaping function is as easy as
forgetting to use <?* instead of <?= or calling an inappropriate
escape_handler_call().
--
Christoph M. Becker