Closed queicherius closed 8 years ago
Thanks for this pull request.
The escape
should be replaced with encodeURIComponent
. Maybe when I replaced unescape
with decodeURIComponent
, I forgot to update escape
.
I'll merge it after all checks have passed.
The str
çÑÇ
encodes into%E7%D1%C7%0A
, which throwsURIError: URI malformed
when usingdecodeURIComponent
.I am not sure why there is an
escape
there in the first place, but usingencodeURIComponent
(like suggested here on the deprecated page) seems to work for all files for me.