test: add UTF-8 path case
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user