Bug#422567: [php-maint] Bug#422567: strip_tags() does not handle single quotes correctly

sean finney seanius at debian.org
Mon May 7 16:21:28 UTC 2007

On Mon, 2007-05-07 at 00:55 -0700, Sean W. Mahan wrote:
> Thanks for getting back to me, Sean,
> The fix is in ext/standard/string.c - here's the PHP.net diff to the
> previous version:
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.

okay, thanks for finding this.

> I must admit I don't know anything about C or your preferred method . 
> The line numbers are different, but I downloaded the php5 source package
> and pasted the changes in on the appropriate lines.  Pasted below is a
> diff of the Debian-provided php5-5.2.0/ext/standard/string.c for
> 5.2.0-8+etch3, and a copy with the affected lines added.
> Please let me know if there's a more appropriate way to submit this. 

for future reference, "diff -u" is the preferred diff output format,
which you can also get from the above url by following the link towards
"patch".   assuming the patch applies cleanly, that's really all we

i'll ping one of the release managers and ask what they think about
adding the fix for this.  it's a pretty small patch so they might
actually say yes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070507/f95e593f/attachment.pgp

More information about the pkg-php-maint mailing list