php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40080 wddx_deserialize has unicode bug
Submitted: 2007-01-09 18:38 UTC Modified: 2008-07-24 01:00 UTC
Votes:5
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:1 (20.0%)
Same OS:0 (0.0%)
From: tim at whiteinteractive dot com Assigned:
Status: No Feedback Package: WDDX related
PHP Version: 4.4.4 OS: Redhat & OS X
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tim at whiteinteractive dot com
New email:
PHP Version: OS:

 

 [2007-01-09 18:38 UTC] tim at whiteinteractive dot com
Description:
------------
wddx_deseralize seems to convert utf8 character sequences wrongly from <char> nodes. Just the leading byte seems to be off, the subsequent one[s] are correct.

Tested on both 4.3.11 (Redhat) and 4.4.5RC1 (OS X)

Please see my test page below.


P.S. Sorry for duplicate post (#40052) I decided the category was wrong.

Reproduce code:
---------------
Interactive example:
http://whiteinteractive.com/utf8bug/test2.php

and source:
http://whiteinteractive.com/utf8bug/test2.phps


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-09 19:44 UTC] tim at whiteinteractive dot com
It looks like wddx_deserialize converts any single <char> node with code point above decimal 192 wrongly!

See:
http://www.whiteinteractive.com/utf8bug/test3.php
and source:
http://www.whiteinteractive.com/utf8bug/test3.phps
 [2007-07-11 13:08 UTC] jani@php.net
See also bug #38900
 [2008-07-24 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 00:01:26 2019 UTC