diff options
Diffstat (limited to 'plugins/cgi')
-rw-r--r-- | plugins/cgi/cgi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/cgi/cgi.cpp b/plugins/cgi/cgi.cpp index b8c2470..318dd1f 100644 --- a/plugins/cgi/cgi.cpp +++ b/plugins/cgi/cgi.cpp @@ -168,6 +168,9 @@ namespace { env["HTTP_CONNECTION"] = c.GetRequestParam("http_connection"); env["HTTP_HOST"] = c.GetRequestParam("http_host"); env["HTTP_USER_AGENT"] = c.GetRequestParam("http_user_agent"); + env["HTTP_REFERER"] = c.GetRequestParam("referer"); + env["HTTP_COOKIE"] = c.GetRequestParam("cookie"); + env["HTTPS"] = c.GetRequestParam("https"); } std::string executeFile(const fs::path& filename, CGIContext& context) |