diff options
author | Eric Wong <e@80x24.org> | 2014-04-28 21:46:04 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-28 21:46:04 +0000 |
commit | 8c26cf88b9d03c63c0210fd0432ecb105852be62 (patch) | |
tree | b9aebf23fcebfeeafe284d1be5802f6bad415aa1 /lib/PublicInbox/Feed.pm | |
parent | 7eee5ae1eb3650e4e963e60abf8543ac4aafb3c4 (diff) | |
download | public-inbox-8c26cf88b9d03c63c0210fd0432ecb105852be62.tar.gz |
feed: call URI->as_string explicitly
Implicit string conversion is more confusing.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r-- | lib/PublicInbox/Feed.pm | 2 |
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; |