diff options
author | bptato <nincsnevem662@gmail.com> | 2023-04-30 19:52:07 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-04-30 19:52:07 +0200 |
commit | 15fe78e9ffec7818a44838d71e99b4355374819d (patch) | |
tree | 352fe0687b189fd64766b19886d2256327460d9e /src/types | |
parent | 805f29abe74e46251c77ee5301bab6f49ad1ddaa (diff) | |
download | chawan-15fe78e9ffec7818a44838d71e99b4355374819d.tar.gz |
what 003ca26b was supposed to do
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 75d6e050..10b91fe5 100644 --- a/src/types/url.nim +++ b/src/types/url.nim @@ -381,7 +381,7 @@ proc basicParseUrl*(input: string, base = none(Url), url: Url = Url(), stateOver #TODO validation error return none(Url) of SCHEME_STATE: - if has and c in AsciiAlpha + {'+', '-', '.'}: + if has and c in AsciiAlphaNumeric + {'+', '-', '.'}: buffer &= c.tolower() elif has and c == ':': if override: |