Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11228 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64903 invoked by uid 1010); 14 Jul 2004 11:09:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64857 invoked from network); 14 Jul 2004 11:09:54 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by pb1.pair.com with SMTP; 14 Jul 2004 11:09:54 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6EB9se1032046 for ; Wed, 14 Jul 2004 07:09:54 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6EB9s010063 for ; Wed, 14 Jul 2004 07:09:54 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i6EB9r7m012510 for ; Wed, 14 Jul 2004 12:09:53 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i6EB9q8J012509 for internals@lists.php.net; Wed, 14 Jul 2004 12:09:52 +0100 Date: Wed, 14 Jul 2004 12:09:52 +0100 To: internals@lists.php.net Message-ID: <20040714110952.GB10229@redhat.com> Mail-Followup-To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [PATCH] CAN-2004-0595 regression test From: jorton@redhat.com (Joe Orton) (applies to 4.3 branch) --- ext/standard/tests/strings/strip_tags.phpt 27 Nov 2002 06:20:37 -0000 1.1.2.1 +++ ext/standard/tests/strings/strip_tags.phpt 14 Jul 2004 11:07:58 -0000 @@ -17,6 +17,8 @@ echo strip_tags('NEAT STUFF'); echo "\n"; echo strip_tags('TESTS ?!!?!?!!!?!!'); + echo "\n"; + echo strip_tags('CAN-2004-<'.chr(0).'b>0595', ''); echo "\n"; ?> --EXPECT-- @@ -27,3 +29,4 @@ NEAT STUFF NEAT STUFF TESTS ?!!?!?!!!?!! +CAN-2004-0595