Your message dated Fri, 8 Jan 2010 17:43:24 +0100
with message-id <[email protected]>
and subject line #518971: libapache2-mod-php5: wddx_unserialize /
wddx_deserialize strips HTML entities
has caused the Debian Bug report #518971,
regarding libapache2-mod-php5: wddx_unserialize / wddx_deserialize strips HTML
entities
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
518971: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518971
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libapache2-mod-php5
Version: 5.2.6.dfsg.1-1+lenny2
Severity: normal
This problem seems to be unique to the build of PHP that came with this
update. It doesn't occur on my own 5.2.6 builds or on the 5.2.0-8+etch13 I
have running elsewhere.
Simple test case:
<?php
$str = '<p>Hello, "Sammy."</p>';
$packet = wddx_packet_start();
wddx_add_vars($packet, 'str');
$serialized = wddx_packet_end($packet);
$unserialized = wddx_deserialize($serialized);
var_dump($unserialized);
?>
If the output has the angle brackets and quotes stripped out, then you
are experiencing the bug. wddx_packet_end() is substituting HTML entities in
place of those characters - which is correct, or at least is what's happened
all along - but then wddx_deserialize is failing to de-entify them, and
instead is discarding them outright.
-- System Information:
Debian Release: squeeze/sid
APT prefers stable
APT policy: (990, 'stable'), (500, 'oldstable'), (500, 'unstable'), (500,
'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages libapache2-mod-php5 depends on:
ii apache2-mpm-prefor 2.2.11-2 Apache HTTP Server - traditional n
ii apache2.2-common 2.2.11-2 Apache HTTP Server common files
ii libbz2-1.0 1.0.5-1 high-quality block-sorting file co
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libcomerr2 1.41.3-1 common error description library
ii libdb4.6 4.6.21-13 Berkeley v4.6 Database Libraries [
ii libkrb53 1.6.dfsg.4~beta1-9 Transitional library package/krb4
ii libmagic1 4.26-2 File type determination library us
ii libpcre3 7.8-2 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8g-15 SSL shared libraries
ii libxml2 2.7.3.dfsg-1 GNOME XML library
ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap
ii php5-common 5.2.6.dfsg.1-1+lenny2 Common files for packages built fr
ii tzdata 2009b-1 time zone and daylight-saving time
ii ucf 3.0016 Update Configuration File: preserv
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
libapache2-mod-php5 recommends no packages.
Versions of packages libapache2-mod-php5 suggests:
ii php-pear 5.2.6.dfsg.1-1+lenny2 PEAR - PHP Extension and Applicati
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 5.2.6.dfsg.1-1+lenny4
r...@howl:/tmp# php5 test.php
array(1) {
["str"]=>
string(22) "<p>Hello, "Sammy."</p>"
}
--
Ondřej Surý <[email protected]>
http://blog.rfc1925.org/
--- End Message ---