mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 03:32:32 +00:00
Update uri.nim (#19148) [backport:1.0]
(cherry picked from commit a3ef5df680)
This commit is contained in:
committed by
narimiran
parent
002621b61d
commit
2eb0442a9a
@@ -163,6 +163,8 @@ proc parseAuthority(authority: string, result: var Uri) =
|
||||
inIPv6 = true
|
||||
of ']':
|
||||
inIPv6 = false
|
||||
of '\0':
|
||||
break
|
||||
else:
|
||||
if inPort:
|
||||
result.port.add(authority[i])
|
||||
|
||||
Reference in New Issue
Block a user