commit 5e9a93ad67cd6ffe58850f6d3520a3d4b3bf2b2160a79e906970f5ad2b563ede from: Stefan Sperling date: Tue Sep 16 10:46:52 2025 UTC use an absolute URL in redirects generated by gotwebd I am going to be using HTTP::Tiny in upcoming regression tests and this HTTP client fails on redirects sent by gotwebd unless the URL is absolute. commit - 4d14637d84fc16d343c1275b717c56a77f120f1c02313211af21f621204460ae commit + 5e9a93ad67cd6ffe58850f6d3520a3d4b3bf2b2160a79e906970f5ad2b563ede blob - 99677ccf17bc023a5d3940da3df78f8a8b0872b77c6c8a0ce72a91edc6e99fee blob + 22ffa8f8c5ed91f8ce007304cf40f1667b914f563280134c6b79970a9009625a --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -79,7 +79,7 @@ gotweb_reply(struct request *c, int status, const char if (location) { if (tp_writes(c->tp, "Location: ") == -1 || - gotweb_render_url(c, location) == -1 || + gotweb_render_absolute_url(c, location) == -1 || tp_writes(c->tp, "\r\n") == -1) return -1; }