summary refs log tree commit diff stats
path: root/tests/stdlib/tparseipv6.nim
Commit message (Collapse)AuthorAgeFilesLines
* style usages part one (openarray => openArray) (#19321)flywind2022-01-041-2/+2
| | | | | * style usages (openArray) * revert doc changes
* Only allow IPv4 literals in strict form (#18656)Christian Ulrich2021-08-081-41/+49
| | | | | | | | | | | | | * Only allow IPv4 literals in strict form The strict form as defined in RFC 6943, section 3.1.1 only allows the dotted form ddd.ddd.ddd.ddd of IPv4 literals, where ddd is a one to three digit decimal number between 0 and 255. Until now octal numbers (with a leading zero) were interpreted as decimal numbers which has security implications, see CVE-2021-29922 and CVE-2021-29923. * Update lib/pure/net.nim Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* added IP v6 parsing testsAndreas Rumpf2017-05-041-0/+217