diff options
-rw-r--r-- | src/types/url.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types/url.nim b/src/types/url.nim index 1e05f016..ab8c9e8b 100644 --- a/src/types/url.nim +++ b/src/types/url.nim @@ -605,8 +605,8 @@ proc basicParseURL*(input: string, base = none(URL), url: URL = URL(), if not starts_with_windows_drive_letter(pointer) and bpath.len > 0 and bpath[0].is_normalized_windows_drive_letter(): url.path.append(bpath[0]) - state = PATH_STATE - dec pointer + state = PATH_STATE + dec pointer of FILE_HOST_STATE: if (not has or c in {'/', '\\', '?', '#'}): dec pointer |