diff --git a/t/05_utils.t b/t/05_utils.t index 3612a5f..fac5f55 100644 --- a/t/05_utils.t +++ b/t/05_utils.t @@ -106,6 +106,11 @@ subtest 'sanitize_url' => sub { 'https://example.com/~user/docs', 'unescapes multiple percent-encoded segments' ], + [ + 'https://fr.wikipedia.org/wiki/Pic_L%C3%A9nine', + 'https://fr.wikipedia.org/wiki/Pic_L%C3%A9nine', + 'preserves UTF-8 percent-encoded path' + ], [ 'https://example.com?q=hello%20world', 'https://example.com?q=hello%20world',