From 9db083b7d0b8b5c6a5fb09ba3b3910e24e430470 Mon Sep 17 00:00:00 2001 From: Nicolas Mora Date: Thu, 8 Aug 2024 07:20:17 -0400 Subject: [PATCH] Use only US-ASCII symbols to test valid cookie values Closes 274 --- test/framework.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/framework.c b/test/framework.c index 4aa0bb8..4ed6232 100644 --- a/test/framework.c +++ b/test/framework.c @@ -6167,7 +6167,7 @@ START_TEST(test_ulfius_utf8_not_ignored) char * invalid_utf8_seq3 = msprintf("value %c%c%c", 0xE2, 0x28, 0xA1); char * invalid_utf8_seq4 = msprintf("value %c%c%c%c", 0xF0, 0x90, 0x28, 0xBC); char * valid_utf8 = "valid value ȸ Ɇ ɤ ¯\\_(ツ)_¯"; - char * valid_utf8_cookie = "valid-value-ȸ-Ɇ-ɤ-¯_(ツ)_¯"; + char * valid_utf8_cookie = "validvalue"; struct _u_instance u_instance; struct _u_request request; struct _u_response response; @@ -6212,7 +6212,7 @@ START_TEST(test_ulfius_utf8_ignored) char * invalid_utf8_seq3 = msprintf("invalid value %c%c%c", 0xE2, 0x28, 0xA1); char * invalid_utf8_seq4 = msprintf("invalid value %c%c%c%c", 0xF0, 0x90, 0x28, 0xBC); char * valid_utf8 = "valid value ȸ Ɇ ɤ ¯\\_(ツ)_¯"; - char * valid_utf8_cookie = "valid-value-ȸ-Ɇ-ɤ-¯_(ツ)_¯"; + char * valid_utf8_cookie = "validvalue"; struct _u_instance u_instance; struct _u_request request; struct _u_response response;