]> Sergey Matveev's repositories - public-inbox.git/commit
www: handle name-only publicinbox.*.url entries
authorEric Wong <e@80x24.org>
Thu, 2 Sep 2021 22:12:59 +0000 (22:12 +0000)
committerEric Wong <e@80x24.org>
Thu, 2 Sep 2021 22:58:21 +0000 (22:58 +0000)
commit9b2c705f92a6baf33684aa0845dc5163ae31016e
tree89e794241a3ba223b9276e61f4a207b1f9d60bb7
parentd369390960722fc56c86319134debe5cd7c0c7f6
www: handle name-only publicinbox.*.url entries

Apparently URLs can be configured relatively for HTTP(S) setups,
attempt to support them when linking to cross-posted messages.

This also fixes the top-row (mirror/help/color/Atom feed) links
in /$INBOX_URL/$EXTMSG_MSGID/T/ (and /t/) URLs.

Reported-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Link: https://public-inbox.org/meta/20210902191239.cmbxlmjqcsmdzmqp@meerkat.local/
lib/PublicInbox/ExtMsg.pm
lib/PublicInbox/View.pm