properly encode non-ASCII characters with encodeString
This commit is contained in:
1 parent
a61806f8e4
commit
db718eedcd
2 files changed
+15
-11
No files matched your search
@@ -75,6 +75,7 @@ escapeStringSpec = describe "escapeString" $ mapM_
|
||||
-- input, expected
|
||||
[ ( "~foo-bar_baz.quux", "~foo-bar_baz.quux" )
|
||||
, ( "foo:/?=&#%", "foo%3a%2f%3f%3d%26%23%25" )
|
||||
, ( "foo\xe9", "foo%c3%a9" )
|
||||
]
|
||||
|
||||
unescapeStringSpec :: Spec
|
||||
|
||||
Reference in new issue
Block a user