Skip to content

Commit

Permalink
test that query params allow colons
Browse files Browse the repository at this point in the history
  • Loading branch information
carterkozak committed Sep 23, 2024
1 parent 57b795f commit 1039f41
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public void encodesQueryParams() throws Exception {
assertThat(minimalUrl().queryParam("foo", "bar").build().toString()).isEqualTo("http://host:80?foo=bar");
assertThat(minimalUrl().queryParam("question?&", "answer!&").build().toString())
.isEqualTo("http://host:80?question?%26=answer%21%26");
assertThat(minimalUrl().queryParam("q", ":").build().toString()).isEqualTo("http://host:80?q=:");
}

@Test
Expand Down

0 comments on commit 1039f41

Please sign in to comment.