Skip to content

Commit

Permalink
Use only US-ASCII symbols to test valid cookie values
Browse files Browse the repository at this point in the history
Closes 274
  • Loading branch information
babelouest committed Aug 8, 2024
1 parent 27be661 commit 9db083b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/framework.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9db083b

Please sign in to comment.