Skip to content

Commit 94ca929

Browse files
committed
Update jsonx_str.h
solidus may be escaped while decoding
1 parent 263d6b0 commit 94ca929

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c_src/jsonx_str.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ check_with_unescape_jstr(unsigned char *str, unsigned char **endstr, unsigned ch
170170
case 'f' : {src++; *dst++ = 12U; continue;}
171171
case 'r' : {src++; *dst++ = 13U; continue;}
172172
case '"' : {src++; *dst++ = 34U; continue;}
173+
case '/' : {src++; *dst++ = 47U; continue;}
173174
case '\\': {src++; *dst++ = 92U; continue;}
174175
case 'u': {
175176
unsigned hval;

0 commit comments

Comments
 (0)