From 0d9605823a1f691653f0b25898c323b8ca08d969 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 14 Jan 2020 16:05:55 -0600 Subject: [PATCH] Restoring unicode testcase Signed-off-by: Joakim Erdfelt --- .../java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java index 041f54a0e5d..e579ef9c071 100644 --- a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java +++ b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java @@ -390,8 +390,9 @@ public class HTTP2ServerTest extends AbstractServerTest @Override protected void service(HttpServletRequest request, HttpServletResponse response) { + // @checkstyle-disable-check : AvoidEscapedUnicodeCharactersCheck // Invalid header name, the connection must be closed. - response.setHeader("Euro_(%E2%82%AC)", "42"); + response.setHeader("Euro_(\u20AC)", "42"); } });