#43927 [Opn->Csd]: koi8r missed in php_unescape_html_entities()
| From: | tony2001@php.net | Date: | Mon, 28 Jan 2008 23:08:59 +0000 |
| Subject: | #43927 [Opn->Csd]: koi8r missed in php_unescape_html_entities() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121619@lists.php.net to get a copy of this message | ||
ID: 43927
Updated by: tony2001@php.net
Reported By: andy at demos dot su
-Status: Open
+Status: Closed
Bug Type: Recode related
Operating System: FreeBSD
PHP Version: 5.2.5
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-01-24 14:47:59] andy at demos dot su
Description:
------------
In php_unescape_html_entities() function (ext/standard/html.c)
one forgot about koi8-r encoding:
--- html.c.orig Wed Oct 3 08:53:05 2007
+++ html.c Thu Jan 24 17:44:11 2008
@@ -954,6 +954,7 @@
case cs_cp1251:
case cs_8859_5:
case cs_cp866:
+ case cs_koi8r:
replacement[0] = k;
replacement[1] = '\0';
replacement_len = 1;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43927&edit=1