about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-28 21:46:04 +0000
committerEric Wong <e@80x24.org>2014-04-28 21:46:04 +0000
commit8c26cf88b9d03c63c0210fd0432ecb105852be62 (patch)
treeb9aebf23fcebfeeafe284d1be5802f6bad415aa1 /lib
parent7eee5ae1eb3650e4e963e60abf8543ac4aafb3c4 (diff)
downloadpublic-inbox-8c26cf88b9d03c63c0210fd0432ecb105852be62.tar.gz
feed: call URI->as_string explicitly
Implicit string conversion is more confusing.
Diffstat (limited to 'lib')
-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 d2bdea0d..87b5b2a9 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -195,7 +195,7 @@ sub get_feedopts {
                 if (ref($cgi) eq 'CGI') {
                         $base = $cgi->url(-base);
                 } else {
-                        $base = "${$cgi->base}";
+                        $base = $cgi->base->as_string;
                         $base =~ s!/\z!!;
                 }
                 $url_base = $path_info;