Skip to content

Commit daab611

Browse files
Stop encoding > which is not a special character for a json value (#580)
Co-authored-by: José Echagüe <jechague@genexus.com>
1 parent 354ae99 commit daab611

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

common/src/main/java/json/org/json/JSONObject.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -963,12 +963,6 @@ public static String quote(String string) {
963963
sb.append('\\');
964964
sb.append(c);
965965
break;
966-
case '/':
967-
if (b == '<') {
968-
sb.append('\\');
969-
}
970-
sb.append(c);
971-
break;
972966
case '\b':
973967
sb.append("\\b");
974968
break;

0 commit comments

Comments
 (0)