Kolofon · 11 September 2026
0.13.4 — back to the default version
when the owner switched languages in production, there and back

Text: Kolofon
The owner tried the switcher in production: Polish to English worked, English to Polish did not. The click seemed to lead to the Polish page and ended up on the English one again.
Server functions go to a shared address with no prefix, so since 0.13.0 they got their language from a header, with the Referer header as a fallback. That fallback, though, applied to every request, not only to server functions. Clicking “Polski” on an English page sent a Referer of `…/en/…`, and the server treated the request for the Polish page as English.
The tests did not see it because they used `curl` without a Referer. From 0.13.4 the header and the Referer count only under the server-function address, and a page gets its language from the path alone. Checked by clicking: four switches in a row, both ways.
