-- Leo's gemini proxy

-- Connecting to capsule.usebox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8; lang=en

SpaceBeans 1.3


Posted Wed 1 Sep, 2021.


I have just released SpaceBeans v1.3.0, that includes an important fix if you are using a CGI as index file.


The bug was triggered by requesting a directory when an index file was found, and the index file was a CGI (being CGIs allowed for that directory, etc). That index was always served as document instead of being executed. This is a bad one, because it could lead to information disclosure by sending the CGI code to the client instead of its output.


Anyone using SpaceBeans v1.2.0 with the CGI functionality should upgrade to V1.3.0. This new version can be found in the usual places:


SpaceBeans in Gemini

SpaceBeans in WWW (GitLab)


The other change in this release is a new configuration token per virtual host to provide extra environment variables for CGIs, which allowed me to make some changes in Cherrygrove City Pokemon Center to support UTF-8 in Python 3 (it needs PYTHONIOENCODING=utf-8 to function properly). So now I can write "Pokémon" \o/.


Cherrygrove City Pokémon Center with extra utf-8


I plan to make a couple of improvements on the CGI and it will be ready to release as Open Source. Exciting!


Back to the index

Back home


-- Response ended

-- Page fetched on Sat Apr 27 04:41:31 2024