Skip to content

Commit

Permalink
Fixes #5845 - Use UTF-8 encoding for client basic auth if requested.
Browse files Browse the repository at this point in the history
Don't use unicode sequences to please CheckStyle.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Dec 30, 2020
1 parent f4caf07 commit 655c2e3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -157,7 +157,7 @@ public void testBasicWithUTF8Password(Scenario scenario) throws Exception
{
startBasic(scenario, new EmptyServerHandler(), StandardCharsets.UTF_8);
URI uri = URI.create(scenario.getScheme() + "://localhost:" + connector.getLocalPort());
testAuthentication(scenario, new BasicAuthentication(uri, realm, "basic_utf8", "\u20AC"));
testAuthentication(scenario, new BasicAuthentication(uri, realm, "basic_utf8", ""));
}

@ParameterizedTest
Expand Down

0 comments on commit 655c2e3

Please sign in to comment.