Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94138 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81846 invoked from network); 19 Jun 2016 23:41:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jun 2016 23:41:46 -0000 Authentication-Results: pb1.pair.com header.from=walterp@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=walterp@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.50 as permitted sender) X-PHP-List-Original-Sender: walterp@gmail.com X-Host-Fingerprint: 209.85.213.50 mail-vk0-f50.google.com Received: from [209.85.213.50] ([209.85.213.50:36723] helo=mail-vk0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/10-13473-9BD27675 for ; Sun, 19 Jun 2016 19:41:45 -0400 Received: by mail-vk0-f50.google.com with SMTP id u64so176486343vkf.3 for ; Sun, 19 Jun 2016 16:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=s/xmCI6xnzawkgDhaz4CXxOf5Di7yQtAa0GSmNtQVG8=; b=SMR11bt3iX6A5pLrp4hzKhTG+I4ze6KCjGbMT3Ey1SUVdvTCNut2qPPw9Un4ULK2XP hkgjXPjEldi46quYC1y+tfDGKFS/l/cZZmlZkZRU0oCR0aZQJmEXx2pVOzlxoRpBo5hu xFsVeDtBi9vRBOeiUZpXXL5v4XI1tkHu4Kemawxnv7LMbbR0UTMh1FLNY7/K4uCCRXnI QacTbyd+40dGThfU5I3nN7lEtSBbod2nFIEHHaNJUBpNt3+yy68hrb4eZO8RiNhG644l 3mTf0+uPpVNLtDImagHPSuX2NdCgqi6Tsub82Vs0GuO1NdJgnw1L0lBQ/TQzqWt4YoIj kdOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=s/xmCI6xnzawkgDhaz4CXxOf5Di7yQtAa0GSmNtQVG8=; b=LVtI2m37kKfCoOecbyqexk3DixI/k8p4OL3oGN+I+zbazsdBcDefrackLH4VBSq9NS lpPr2HiIhkUh+2ANeqw9sTvTcuELELSOUXI0NCEwrU8t0tz4pcCf+xBi4IpW8s4dv3hS Y3kgxCTV+jP0ENuJa+V+IpPNLX1ndO3tfxYdTDtiaoKctK+O80ZgJmqFEedutZATzxEz rRUrBcT/p7Z3Pw7oI8TzWgfHRTTlLhUR24H7gQc3rx3b01V0W6m0KWYr0TWlbWptViDq 3LWjdLVKvjlOJGGZZpxrDc1xmew4QAeogPG+ouZAS838CEVJo+tcNi50yY9kgw4DHB4z M13w== X-Gm-Message-State: ALyK8tLDwRcBA0zoDM7zOoFULDc/unkmlWpjAg0tAJ0oHOE19FCO7kiwqzUzMRpYllypaNsT7htLjmYWm1xiCA== X-Received: by 10.159.34.104 with SMTP id 95mr5256462uad.86.1466379702791; Sun, 19 Jun 2016 16:41:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.108.135 with HTTP; Sun, 19 Jun 2016 16:41:41 -0700 (PDT) In-Reply-To: References: <20160617202344.2868F1A80C02@dd1730.kasserver.com> <57665E36.60302@lsces.co.uk> <5766D311.6030503@lsces.co.uk> Date: Sun, 19 Jun 2016 16:41:41 -0700 Message-ID: To: =?UTF-8?B?0JzQuNGF0LDQuNC7INCS0L7RgdGC0YDQuNC60L7Qsg==?= Cc: Scott Arciszewski , Lester Caine , PHP Internals Content-Type: multipart/alternative; boundary=001a113e07804a74cb0535aa215b Subject: Re: [PHP-DEV] New escaped output operator From: walterp@gmail.com (Walter Parker) --001a113e07804a74cb0535aa215b Content-Type: text/plain; charset=UTF-8 > > > > > where getting it 90% correct is worse that not doing anything at all. > > Things like this will cause people to be blindsided when the uncaught > escapes > > cause the next major security problem. > > Why do you think so? What real problems can happen if there will be a > short operator for htmlspecialchars()? > > What could happen is this getting sold/documented as a general purpose security feature: "Use '