commit 4113e6853e3344ea50288e4cd820f0a88b76e37e 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 - 62c4f01be76e0fc679c1741dc771ceb5a92d75e8 commit + 4113e6853e3344ea50288e4cd820f0a88b76e37e blob - 726936d3f5541a56852192a2f5aa332074a58b0e blob + 0ab707dad9b532724fd7605337107ffdf3dcc875 --- 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; }