diff options
-rw-r--r-- | src/types/url.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/url.nim b/src/types/url.nim index bfdc3eaa..f7cd550f 100644 --- a/src/types/url.nim +++ b/src/types/url.nim @@ -504,7 +504,7 @@ proc basicParseUrl*(input: string, base = none(URL), url: URL = URL(), state = SPECIAL_AUTHORITY_IGNORE_SLASHES_STATE dec pointer of SPECIAL_AUTHORITY_IGNORE_SLASHES_STATE: - if has and c notin {'/', '\\'}: + if not has or c notin {'/', '\\'}: state = AUTHORITY_STATE dec pointer else: |