Anonymous | Login | Signup for a new account | 12-17-2024 08:45 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 | ||||
0003240 | [Quercus] | block | always | 01-12-09 17:28 | 01-13-09 10:58 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.0 | ||||||
Summary | 0003240: json_decode fails on string values | ||||||||
Description |
<?php print json_decode('foo.'); Regular PHP prints "foo." Quercus throws an exception: java.lang.ArrayIndexOutOfBoundsException at com.caucho.quercus.env.StringBuilderValue.<init>(StringBuilderValue.java:77) at com.caucho.quercus.env.StringBuilderValue.subSequence(StringBuilderValue.java:691) at com.caucho.quercus.env.StringValue.substring(StringValue.java:1699) at com.caucho.quercus.lib.json.JsonDecoder.errorReturn(JsonDecoder.java:466) at com.caucho.quercus.lib.json.JsonDecoder.jsonDecodeImpl(JsonDecoder.java:106) at com.caucho.quercus.lib.json.JsonDecoder.jsonDecode(JsonDecoder.java:54) at com.caucho.quercus.lib.json.JsonModule.json_decode(JsonModule.java:306) at _quercus._html._test._json_0decode__php.execute(_json_0decode__php.java:41) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |