Commits


add an implicit fastcgi parameter: GEMINI_SEARCH_STRING it’s the QUERY_STRING decoded if it’s a search-string (i.e. not a key-value pair.) It’s useful for scripts to avoid percent-decoding the querystring in the most common case of a query, because in Gemini querystrings key-value paired are not common. Idea from a discussion with Allen Sobot.


correction: QUERY_STRING is *not* urldecoded. RFC3875 § 4.1.7 states that "the QUERY_STRING variable contains a URL-encoded search or parameter string".


sync config syntax with reality


move gmid to the eight section of the manual


changes for 1.8.4


document the implicit mapping for text/gemini and remove the explicit mapping from the documentation and test files.


document the `types' behavior


add an entry for text/gemini in the `types' example if using `types' the internal listing is not used, so show how to add the entries for text/gemini when using /usr/share/misc/mime.types.


+jpeg


move the documentation of the config file into gmid.conf.5