]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/URIimap.pm
www_stream: add trailing slash for help and color links
[public-inbox.git] / lib / PublicInbox / URIimap.pm
index 56b6002a379fc46449935de01e2abeac4af67146..db84ee5ef61ed4b53cfe4c0239295f32ca8a7f28 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 # cf. RFC 5092, which the `URI' package doesn't support
 #
@@ -13,6 +13,7 @@ package PublicInbox::URIimap;
 use strict;
 use URI::Split qw(uri_split uri_join); # part of URI
 use URI::Escape qw(uri_unescape);
+use overload '""' => \&as_string;
 
 my %default_ports = (imap => 143, imaps => 993);