This commit is contained in:
Looly
2023-05-29 00:10:46 +08:00
parent 87a1b7e1a2
commit 3c889500a9
4 changed files with 100 additions and 106 deletions

View File

@@ -148,7 +148,7 @@ public class UrlQueryTest {
@Test
void issueI78PB1Test() {
// 严格模式
final UrlQuery query = UrlQuery.of(false, true);
final UrlQuery query = UrlQuery.of(UrlQuery.EncodeMode.STRICT);
query.add(":/?#[]@!$&'()*+,;= ", ":/?#[]@!$&'()*+,;= ");
final String string = query.build(CharsetUtil.UTF_8);