Anonymous | Login | Signup for a new account | 12-17-2024 11:36 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000555 | [Quercus] | minor | always | 12-23-05 07:39 | 12-23-05 08:49 | ||||
Reporter | bago | View Status | @0@ | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0000555: serialize for array values add an unneeded ";" to the serialized value (and unserialize need it) | ||||||||
Description |
<?php print(serialize(array("a"))); ?> in official php: a:1:{i:0;s:1:"a";} in quercus: a:1:{i:0;s:1:"a";}; so quercus unserialize is not able to unserialize data serialized by official php See the fix in the "additional note section" |
||||||||
Additional Information |
Here is the fix: QuercusVariableModule:666: put unserializeExpect(is, '}'); instead of unserializeExpect(is, '}'); unserializeExpect(is, ';'); ArrayValue:589: put sb.append("}"); instead of sb.append("};"); |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |