mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
Update uri.nim (#19148) [backport:1.0]
This commit is contained in:
@@ -216,6 +216,8 @@ func parseAuthority(authority: string, result: var Uri) =
|
||||
result.isIpv6 = true
|
||||
of ']':
|
||||
inIPv6 = false
|
||||
of '\0':
|
||||
break
|
||||
else:
|
||||
if inPort:
|
||||
result.port.add(authority[i])
|
||||
|
||||
Reference in New Issue
Block a user