diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-24 10:06:48 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-24 10:06:48 +0000 |
commit | 28ec61780962b6aa7b50845e3738399a92dc9e0c (patch) | |
tree | fe9372e854bc619bddf5f22712e9b7e30f43843b /ex.c | |
parent | ba7b2faa861032ba8e30a76aac2c6eef4de0b84c (diff) |
sync the CGI environment with the manpage
while there also add SERVER_PROTOCOL
Diffstat (limited to 'ex.c')
-rw-r--r-- | ex.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -215,6 +215,7 @@ launch_cgi(const char *spath, const char *relpath, const char *query, argv[0] = argv[1] = ex; safe_setenv("GATEWAY_INTERFACE", "CGI/1.1"); + safe_setenv("SERVER_PROTOCOL", "GEMINI"); safe_setenv("SERVER_SOFTWARE", "gmid"); safe_setenv("SERVER_PORT", portno); |