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/Feed.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/Feed.pm') diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 5708b60e..65514eb6 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -287,7 +287,7 @@ sub get_feedopts { my $base; if (ref($cgi) eq 'CGI') { $base = $cgi->url(-base); - } else { + } else { # Plack::Request $base = $cgi->base->as_string; $base =~ s!/\z!!; } -- cgit v1.2.3-24-ge0c7