about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-11 21:56:19 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-11 21:56:19 +0100
commit69b1a7e7f6e0a675cd70805768162de5621e8279 (patch)
tree3709ec1292e7b55280464204f1dfc0ba6dd6492b /src/config
parenta508582743cb392577853791e03d23066757bb1f (diff)
downloadchawan-69b1a7e7f6e0a675cd70805768162de5621e8279.tar.gz
fix rejection of readFromFd urls
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.nim2
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(