From fb72c5fb4353103b7928780f83d5e79b78038823 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 3 Jan 2016 23:49:49 +0000 Subject: www: comments for denoting Plack::Request vs CGI We'll probably want to continue supporting CGI for mod_perl compatibility. --- lib/PublicInbox/ExtMsg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/ExtMsg.pm') 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) { -- cgit v1.2.3-24-ge0c7