avoid deprecated procs
This commit is contained in:
parent
b69598a64a
commit
a3f80c4bdf
2 changed files with 3 additions and 3 deletions
|
|
@ -81,7 +81,7 @@ proc parsePath(uri: string, i: var int, result: var Uri) =
|
|||
i.inc parseUntil(uri, result.path, {'?', '#'}, i)
|
||||
|
||||
# The 'mailto' scheme's PATH actually contains the hostname/username
|
||||
if result.scheme.toLower == "mailto":
|
||||
if cmpIgnoreCase(result.scheme, "mailto") == 0:
|
||||
parseAuthority(result.path, result)
|
||||
result.path.setLen(0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue