Update uri.nim (#19148) [backport:1.0]
This commit is contained in:
parent
1a92edeb89
commit
a3ef5df680
1 changed files with 2 additions and 0 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue