-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
The graph URL paths in the html generated by mailgraph.cgi are absolute. This forces contortions to get reverse-proxy to mailgraph behind an admin interface working. A better solution might be to make the URLs relative by changing the code at line 181-185 in mailgraph.cgi from
for my $n (0..$#graphs) {
print "<h2 id=\"G$n\">$graphs[$n]{title}</h2>\n";
print "<p><img src=\"$scriptname?${n}-n\" alt=\"mailgraph\"/><br/>\n";
print "<img src=\"$scriptname?${n}-e\" alt=\"mailgraph\"/></p>\n";
}
to
for my $n (0..$#graphs) {
print "<h2 id=\"G$n\">$graphs[$n]{title}</h2>\n";
print "<p><img src=\"?${n}-n\" alt=\"mailgraph\"/><br/>\n";
print "<img src=\"?${n}-e\" alt=\"mailgraph\"/></p>\n";
}
Metadata
Metadata
Assignees
Labels
No labels