Skip to content

Commit

Permalink
Merge "okhttp: add workaround in RequestTest for \r"
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Giro authored and Gerrit Code Review committed Mar 11, 2016
2 parents 74b925d + 2a168a5 commit 12013c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ public final class RequestTest {
@Test public void headerForbidsControlCharacters() throws Exception {
assertForbiddenHeader(null);
assertForbiddenHeader("\u0000");
assertForbiddenHeader("\r");
// Workaround for http://b/26422335
// Workaround for http://b/26422335 , http://b/26889631
// assertForbiddenHeader("\n");
assertForbiddenHeader("a\nb");
assertForbiddenHeader("\nb");
// assertForbiddenHeader("\r");
assertForbiddenHeader("a\rb");
assertForbiddenHeader("\rb");
// End of Android modification.
Expand Down

0 comments on commit 12013c1

Please sign in to comment.