]> Sergey Matveev's repositories - public-inbox.git/commit
lei_external: don't treat IPv6 URLs as globs
authorEric Wong <e@80x24.org>
Wed, 24 Feb 2021 23:37:17 +0000 (05:37 +0600)
committerEric Wong <e@80x24.org>
Thu, 25 Feb 2021 09:47:34 +0000 (09:47 +0000)
commit335eff473d58fa2d9431cd119b8cc8ce855e7c72
treea4f6dd4c98f233fbb2c3664358889fbc5f1c0268
parentab32ba9e13b0fe83314b76a481439a39a88a3359
lei_external: don't treat IPv6 URLs as globs

IPv6 addresses are hexadecimals and colons inside brackets, so
add some DWIM-ery to ensure we don't attempt to treat addresses
like "http://[dead:beef]/foo/" as a glob.
lib/PublicInbox/LeiExternal.pm
t/lei_external.t