summary refs log tree commit diff stats
path: root/lib/std
diff options
context:
space:
mode:
authorChristoph Krybus <ckrybus@googlemail.com>2021-11-13 04:51:58 +0100
committerGitHub <noreply@github.com>2021-11-12 22:51:58 -0500
commitade85ee91fee849f4b036ed8e42e31b978144522 (patch)
treeccbdc131b5d1c4e4217e5737c32cec270f514653 /lib/std
parent0a1049881eaa08cb7d10194d9b446d8a9ca52122 (diff)
downloadNim-ade85ee91fee849f4b036ed8e42e31b978144522.tar.gz
Fix punycode.decode function (#19136)
* Refactor: rename proc to func

* Fix punycode.decode function

This function could only properly decode punycodes containing a single
encoded unicode character. As soon as there was more than one punycode
character group to decode it produced invalid output - the number of
characters was correct, but their position was not.

* Update tpunycode.nim

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions