From f758142178b4cc5c650dde75152bfb85ac992178 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 15 Oct 2018 14:57:16 +0200 Subject: url: Prefer upper-case letters in hex characters when encoding This makes it more compliant with RFC 3986, where the use of upper-case letters is recommended (as "SHOULD"). Suggested by Sumit Bose. --- common/test-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/test-path.c') diff --git a/common/test-path.c b/common/test-path.c index c77acf2..2eb5444 100644 --- a/common/test-path.c +++ b/common/test-path.c @@ -206,7 +206,7 @@ test_encode (void) char *test; test = p11_path_encode ("2309haonutb;/AOE@#$O "); - assert_str_eq (test, "2309haonutb%3b/AOE%40%23%24O%20"); + assert_str_eq (test, "2309haonutb%3B/AOE%40%23%24O%20"); free (test); } -- cgit v1.1