chiark
/
gitweb
/
~mdw
/
odin-cgi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
128543b
)
mason/common/autohandler: Include `X-AGPL-Source' header.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 7 Jul 2017 23:45:08 +0000
(
00:45
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 7 Jul 2017 23:45:08 +0000
(
00:45
+0100)
For consistency with the `ip' service, which doesn't have anywhere else
to put the link.
mason/common/autohandler
patch
|
blob
|
blame
|
history
diff --git
a/mason/common/autohandler
b/mason/common/autohandler
index 63e44d362d3cea2c3de3a46625c23961c2738566..82e8923ec952bbf598557138433d41d83d862b11 100644
(file)
--- 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;
</%perl>
%#