aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
Diffstat (limited to 'src/types')
-rw-r--r--src/types/url.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/url.nim b/src/types/url.nim
index 1476a566..da27d96b 100644
--- a/src/types/url.nim
+++ b/src/types/url.nim
@@ -287,7 +287,7 @@ func domainToAscii*(domain: string, bestrict = false): Option[string] =
return none(string)
return result
else:
- return domain.toAsciiLower().some
+ return domain.tolower().some
func parseHost(input: string, isnotspecial = false): Option[Host] =
if input.len == 0: return