about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.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/Feed.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/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
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!!;
                 }