Commit Diff


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;
 	}