]> gitweb.factorcode.org Git - factor.git/commitdiff
urls.encoding: make unicode fix to decode-uri also.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 5 Mar 2021 01:34:42 +0000 (17:34 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 5 Mar 2021 01:34:42 +0000 (17:34 -0800)
basis/urls/encoding/encoding.factor

index fd341b50380e5b28ec2def2affb0c533c7e0f062..0d9cb5dfb3aabfc6ee26069826da11fcddda2775 100644 (file)
@@ -166,7 +166,7 @@ PRIVATE>
             2dup nth dup CHAR: % = [
                 drop 2dup _ decode-uri-hex [ 3 + ] dip
             ] [
-                , [ 1 + ] dip
+                1string utf8 encode % [ 1 + ] dip
             ] if _ decode-uri-iter
         ] if
     ] call ; inline recursive