Skip to content

Commit 70ccbd6

Browse files
author
Oriental Sensation
committed
There's no need to escape slash character since content is already base64-encoded.
1 parent df9b891 commit 70ccbd6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

library/src/main/java/com/loopj/android/http/JsonStreamerEntity.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,6 @@ static byte[] escape(String string) {
288288
case '\t':
289289
BUILDER.append("\\t");
290290
break;
291-
case '/':
292-
BUILDER.append("\\/");
293-
break;
294291
default:
295292
// Reference: http://www.unicode.org/versions/Unicode5.1.0/
296293
if((ch >= '\u0000' && ch <= '\u001F') || (ch >= '\u007F' && ch <= '\u009F') || (ch >= '\u2000' && ch <= '\u20FF')) {

0 commit comments

Comments
 (0)