about summary refs log tree commit homepage
path: root/lib/PublicInbox/ExtMsg.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-01-03 23:49:49 +0000
committerEric Wong <e@80x24.org>2016-01-03 23:49:49 +0000
commitfb72c5fb4353103b7928780f83d5e79b78038823 (patch)
treeacb225a82aaa4a86adae84e370cff3233175e672 /lib/PublicInbox/ExtMsg.pm
parent48dbde1b098d836660d3eefbacbd57e487b3eaed (diff)
downloadpublic-inbox-fb72c5fb4353103b7928780f83d5e79b78038823.tar.gz
We'll probably want to continue supporting CGI for mod_perl
compatibility.
Diffstat (limited to 'lib/PublicInbox/ExtMsg.pm')
-rw-r--r--lib/PublicInbox/ExtMsg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm
index 59bbae59..a56df335 100644
--- a/lib/PublicInbox/ExtMsg.pm
+++ b/lib/PublicInbox/ExtMsg.pm
@@ -89,7 +89,7 @@ sub ext_msg {
 again:
                 my $cgi = $ctx->{cgi};
                 my $url = ref($cgi) eq 'CGI' ? $cgi->url(-base) . '/'
-                                        : $cgi->base->as_string;
+                                : $cgi->base->as_string; # Plack::Request
                 $url .= $listname;
                 unshift @pfx, { git_dir => $ctx->{git_dir}, url => $url };
                 foreach my $pfx (@pfx) {