I've made a few significant fixes in the GmCapsule server, hence the minor version bump. My server (skyjake.fi / geminispace.org) is already running the new version, so maybe I didn't break anything. ๐ค
PATH_INFO
: it is now URL-decoded and the script path is removed so only the part following the script path is included in the environment variable (RFC 3875, section 4.1.5).
bin_root
applies a wildcard to all found CGI executables so PATH_INFO
can be used.
bin_root
looks for executable "index.gmi" files in requested directories to provide the directory index.
The fixes with regard to PATH_INFO may or may not warrant changing your existing CGI programs. Most importantly, the contents are now URL-decoded for you as per the CGI specification, which should make life somewhat easier for your scripts.
=> Posted in: s/GmCapsule
=> ๐น๏ธ skyjake [mod, sysop]
2024-04-13 ยท 9 months ago ยท ๐ gritty, istvan, tenno-seremel ยท ๐ 1
=> ๐ istvan ยท 2024-04-13 at 23:08:
Great update! I did a quick diff to check the fix I'd been applying since 0.5 for files with spaces in the names and looks like the new release finally applied the same so that's cool. Really happy to see default searching for index.gmi in cgi-bin too. Already updated and restarted my server. Thanks for all your work!
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).