Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68939 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99081 invoked from network); 7 Sep 2013 08:35:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2013 08:35:51 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.179 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.214.179 mail-ob0-f179.google.com Received: from [209.85.214.179] ([209.85.214.179:51061] helo=mail-ob0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/B4-00660-665EA225 for ; Sat, 07 Sep 2013 04:35:51 -0400 Received: by mail-ob0-f179.google.com with SMTP id fb19so4301168obc.24 for ; Sat, 07 Sep 2013 01:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=kCpqlFMX4pLTNdQMzQp9UDpqGett/1XW+DlugTasE44=; b=vs0pN9a5LCDFnnrkSvZU0Sf5iIFGZlRCsRpWl1yEXlvptBc0jNM70U6DoyxkOtR+jh TLUYKI+Vz9qfhHWsWXzVejp5krx9pdtLiO66Xdruwb5Rp/iCA3A5QfyEDRsHzVt+kEyz j1TFcMc1nUHrF4kzgDK9M+tmFhhZGSc2Su2Ed61wNcMlx0CvZFL9di1vgJ6Oli6m73Sm eQ9ZtT2w6BN8RxageD94yS8W2dmRAUl8YfRvkn4sUp29QB3QvIKxdTkBh0k4JR9sYwSG zi+IUwKd0x5rnhdB7hgyOD1pVqfGbo8IFPstrQ4ljK1ezX7b580slV1l6WntB/2uOwz1 g7UQ== X-Received: by 10.182.96.100 with SMTP id dr4mr4875467obb.22.1378542947697; Sat, 07 Sep 2013 01:35:47 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.182.11.65 with HTTP; Sat, 7 Sep 2013 01:35:07 -0700 (PDT) In-Reply-To: References: Date: Sat, 7 Sep 2013 17:35:07 +0900 X-Google-Sender-Auth: poQt9UM4Bb8x1Y8oEwYtCZ2y9wU Message-ID: To: Leigh Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c33560b48b1e04e5c70a9d Subject: Re: [PHP-DEV] [RFC] Escaping RFC for PHP Core - Updates? From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c33560b48b1e04e5c70a9d Content-Type: text/plain; charset=UTF-8 Hi Leigh, On Sat, Sep 7, 2013 at 2:56 PM, Leigh wrote: > Looks like the rfc author was unable to implement it himself at the time > of the proposal. > > The last thing in the discussion thread looks like "implement it in PECL > first, and it might get bundled later" > > http://marc.info/?l=php-internals&m=134822086426610&w=2 > Thank you for the info. I searched my mailbox, but I couldn't find this. It would be better to implement this as SPL_Escape class. SPL_Escape::jsString() SPL_Escape::phpString() SPL_Escape::html() SPL_Escape::htmlAttribute() etc It looks nicer than Escaper::escapeJs(), Escaper::escapeHtml(), etc. Any comments? Anyone mind if I edit the RFC? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c33560b48b1e04e5c70a9d--