From 2322e7a8a1ebfe0f9b64a0af50d90cf4feac8a6b Mon Sep 17 00:00:00 2001 Message-Id: <2322e7a8a1ebfe0f9b64a0af50d90cf4feac8a6b.1714793753.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 8 Jul 2017 00:45:08 +0100 Subject: [PATCH] mason/common/autohandler: Include `X-AGPL-Source' header. Organization: Straylight/Edgeware From: Mark Wooding For consistency with the `ip' service, which doesn't have anywhere else to put the link. --- mason/common/autohandler | 1 + 1 file changed, 1 insertion(+) diff --git a/mason/common/autohandler b/mason/common/autohandler index 63e44d3..82e8923 100644 --- a/mason/common/autohandler +++ b/mason/common/autohandler @@ -27,6 +27,7 @@ Odin::cgi_who $r; Odin::fetch_cookies $r; $r->content_type("text/html; charset=utf8"); + $r->header_out("X-AGPL-Source" => $Odin::SRCURL); $m->call_next; %# -- [mdw]