Skip to content

Commit

Permalink
Revert "Update uri.nim (#19148) [backport:1.0]" (#19280)
Browse files Browse the repository at this point in the history
This reverts commit a3ef5df.

(cherry picked from commit 81d32cf)
  • Loading branch information
Araq authored and narimiran committed Dec 31, 2021
1 parent a57b1d7 commit 2a1f77c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/pure/uri.nim
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ proc parseAuthority(authority: string, result: var Uri) =
inIPv6 = true
of ']':
inIPv6 = false
of '\0':
break
else:
if inPort:
result.port.add(authority[i])
Expand Down

0 comments on commit 2a1f77c

Please sign in to comment.