diff options
author | bptato <nincsnevem662@gmail.com> | 2022-01-22 19:29:17 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-01-22 19:37:58 +0100 |
commit | 8a8667d0449112373015e7eacc1014435036fe52 (patch) | |
tree | 7bdab5ce0006b68b94f4461d6b7c3c8b7e26d790 /src/types | |
parent | c63d3f65f8cf29afafa1b90bcd3088d4e0fd8138 (diff) | |
download | chawan-8a8667d0449112373015e7eacc1014435036fe52.tar.gz |
Fix url parsing bug
I confused the path start state with the path state. Oops.
Diffstat (limited to 'src/types')
-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 4e1a52f7..2356fb73 100644 --- a/src/types/url.nim +++ b/src/types/url.nim @@ -532,7 +532,7 @@ proc basicParseUrl*(input: string, base = none(Url), url: var Url = Url(), overr return none(Url) url.host = host buffer = "" - state = PATH_STATE + state = PATH_START_STATE if override: return else: |