]> Sergey Matveev's repositories - public-inbox.git/commit
wwwstream: show relative coderepo URLs correctly
authorEric Wong <e@80x24.org>
Tue, 22 Dec 2020 05:04:16 +0000 (05:04 +0000)
committerEric Wong <e@80x24.org>
Tue, 22 Dec 2020 22:56:06 +0000 (22:56 +0000)
commit37526779e4c544b134af74f43d6c26569cb8e466
tree15315f4e24230e6729b437faaa1ba314ea91f9bf
parent949e8b4a65a2dbb99d8923ebb4715a8724ca8bf2
wwwstream: show relative coderepo URLs correctly

Trying to link "foo.git" relative to the current URL usually
does not provide correct results, so prefix it by going
into the parent directory if an absolute (or protocol-relative)
URL is not supplied.
lib/PublicInbox/WwwStream.pm