aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/json.c b/src/json.c
index e446830db..e508209fc 100644
--- a/src/json.c
+++ b/src/json.c
@@ -802,10 +802,8 @@ static void jsonReturn(
c = '\t';
}else if( c=='v' ){
c = '\v';
- }else if( c=='\'' ){
- c = '\'';
- }else if( c=='"' ){
- c = '"';
+ }else if( c=='\'' || c=='"' || c=='/' ){
+ /* pass through unchanged */
}else if( c=='0' ){
c = 0;
}else if( c=='x' ){