commit 7175f54d7fa1c85c2c468d7d7b6c7954e2f75a91 from: Stefan Sperling via: Thomas Adam date: Tue Sep 16 16:34:29 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 - ab79216acf83603c7000e431fd5b70d3d1ede9df commit + 7175f54d7fa1c85c2c468d7d7b6c7954e2f75a91 blob - ad48cea542fc03bd6eb3a344d839a13f6b8afaa3 blob + c2317d0056c3abcdbcd28dbb5fb57501f171ddbe --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -77,7 +77,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; }