about summary refs log tree commit diff stats
path: root/src/config/config.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/config.nim')
-rw-r--r--src/config/config.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config/config.nim b/src/config/config.nim
index fb0218ce..0df6285a 100644
--- a/src/config/config.nim
+++ b/src/config/config.nim
@@ -91,6 +91,7 @@ type
     mime_types* {.jsgetset.}: seq[string]
     cgi_dir* {.jsgetset.}: seq[string]
     urimethodmap* {.jsgetset.}: seq[string]
+    w3m_cgi_compat* {.jsgetset.}: bool
 
   InputConfig = object
     vi_numeric_prefix* {.jsgetset.}: bool
@@ -232,7 +233,8 @@ proc getBufferConfig*(config: Config, location: URL, cookiejar: CookieJar,
       cookiejar: cookiejar,
       proxy: proxy,
       cgiDir: config.external.cgi_dir,
-      urimethodmap: urimethodmap
+      urimethodmap: urimethodmap,
+      w3mCGICompat: config.external.w3m_cgi_compat
     )
   )