diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-11 21:56:19 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-11 21:56:19 +0100 |
commit | 69b1a7e7f6e0a675cd70805768162de5621e8279 (patch) | |
tree | 3709ec1292e7b55280464204f1dfc0ba6dd6492b /src | |
parent | a508582743cb392577853791e03d23066757bb1f (diff) | |
download | chawan-69b1a7e7f6e0a675cd70805768162de5621e8279.tar.gz |
fix rejection of readFromFd urls
Diffstat (limited to 'src')
-rw-r--r-- | src/config/config.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/config.nim b/src/config/config.nim index 1d2592e1..0305d7c7 100644 --- a/src/config/config.nim +++ b/src/config/config.nim @@ -229,7 +229,7 @@ proc getBufferConfig*(config: Config, location: URL, cookiejar: CookieJar, urimethodmap: URIMethodMap, cgiDir: seq[string]): BufferConfig = let filter = newURLFilter( scheme = some(location.scheme), - allowschemes = @["data"], + allowschemes = @["data", "stream"], default = true ) return BufferConfig( |