From 8c26cf88b9d03c63c0210fd0432ecb105852be62 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 28 Apr 2014 21:46:04 +0000 Subject: feed: call URI->as_string explicitly Implicit string conversion is more confusing. --- lib/PublicInbox/Feed.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3-24-ge0c7