diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-12-30 13:07:00 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-12-30 13:07:00 +0000 |
| commit | 0a66d551183f1e6acf46ae6a813719d30ba89128 (patch) | |
| tree | 9715a3f31096445e0027644e2053ad3aa1877773 | |
| parent | bf75b9019114d2198a468d1b8576c2ed2440be47 (diff) | |
| download | tipidee-0a66d551183f1e6acf46ae6a813719d30ba89128.tar.gz | |
CGI spec says QUERY_STRING must always be defined
| -rw-r--r-- | NEWS | 6 | ||||
| -rw-r--r-- | doc/index.html | 4 | ||||
| -rw-r--r-- | doc/upgrade.html | 6 | ||||
| -rw-r--r-- | src/tipideed/cgi.c | 3 |
4 files changed, 15 insertions, 4 deletions
@@ -1,5 +1,11 @@ Changelog for tipidee. +In 0.0.7.1 +---------- + + - Bugfixes. + + In 0.0.7.0 ---------- diff --git a/doc/index.html b/doc/index.html index ea7e18b..bcda878 100644 --- a/doc/index.html +++ b/doc/index.html @@ -143,8 +143,8 @@ Don't take my word for it; try it out for yourself. </li> <ul> <li> The current released version of tipidee is -<a href="tipidee-0.0.7.0.tar.gz">0.0.7.0</a>. -You can access its checksum <a href="tipidee-0.0.7.0.tar.gz.sha256">here</a>. </li> +<a href="tipidee-0.0.7.1.tar.gz">0.0.7.1</a>. +You can access its checksum <a href="tipidee-0.0.7.1.tar.gz.sha256">here</a>. </li> <li> You can checkout a copy of the <a href="//git.skarnet.org/cgi-bin/cgit.cgi/tipidee/">tipidee git repository</a>: diff --git a/doc/upgrade.html b/doc/upgrade.html index f1fdc1a..e9d3f70 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,6 +18,12 @@ <h1> What has changed in tipidee </h1> +<h2> in 0.0.7.1 </h2> + +<ul> + <li> No functional changes. </li> +</ul> + <h2> in 0.0.7.0 </h2> <ul> diff --git a/src/tipideed/cgi.c b/src/tipideed/cgi.c index 14c6de8..3e15b69 100644 --- a/src/tipideed/cgi.c +++ b/src/tipideed/cgi.c @@ -78,8 +78,7 @@ static inline void modify_env (tipidee_rql const *rql, char const *docroot, tipi if (infopath[0]) addenvslash(rql, docroot, "PATH_INFO", infopath) ; else delenv(rql, docroot, "PATH_INFO") ; - if (rql->uri.query) addenv(rql, docroot, "QUERY_STRING", rql->uri.query) ; - else delenv(rql, docroot, "QUERY_STRING") ; + addenv(rql, docroot, "QUERY_STRING", rql->uri.query ? rql->uri.query : "") ; addenv(rql, docroot, "SCRIPT_NAME", script) ; addrequesturi(rql, docroot, script, infopath) ; addenv(rql, docroot, "SERVER_NAME", rql->uri.host) ; |
