Skip to content

Commit 0f5c23b

Browse files
junku-park-lgekdopen
authored andcommitted
Fix json_tokener_parse() error for unicode string
:Release Notes: json_tokerner_parse() now accepts capital unicode string :Detailed Notes: Hex. characters include 1-9, a-f and A-F. But cjson does not include A-F. That's why it json_tokener_parse() returns error on \u002F :Testing Performed: Checks whether json_tokener_parse() succeeded in strings "\u002F" :QA Notes: :Issues Addressed: [ANG-6517] json_tokener_parse() returns error for unicode strings Open-webOS-DCO-1.0-Signed-off-by: Junku Park <junku.park@lge.com> Change-Id: Ibb1ceae421025b7b09cf18b84593f2dd2692b082 Reviewed-on: https://g2g.palm.com/5560 Reviewed-by: DCO Verification Reviewed-by: Junku Park <junku.park@lge.com> Tested-by: Junku Park <junku.park@lge.com> Reviewed-by: Keith Derrick <keith.derrick@lge.com>
1 parent 43de024 commit 0f5c23b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

json_object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
// #define REFCOUNT_DEBUG 1
3434

3535
char *json_number_chars = "0123456789.+-eE";
36-
char *json_hex_chars = "0123456789abcdef";
36+
char *json_hex_chars = "0123456789abcdefABCDEF";
3737

3838
#ifdef REFCOUNT_DEBUG
3939
static char* json_type_name[] = {

0 commit comments

Comments
 (0)