]> Sergey Matveev's repositories - public-inbox.git/commit
www_stream: sh-friendly .onion URLs wrapping
authorEric Wong <e@80x24.org>
Thu, 26 Aug 2021 12:33:33 +0000 (12:33 +0000)
committerEric Wong <e@80x24.org>
Sat, 28 Aug 2021 10:37:00 +0000 (10:37 +0000)
commit37aa51cd82d34aa2638db24a3dd5aa72339183df
treec41d070c337f22a5f8ec7d64c77e56ca7e40442d
parent70cba5dbade9b1d83ab30fcb2573def773deabe9
www_stream: sh-friendly .onion URLs wrapping

The long v3 .onion URL was causing havoc on small mobile
displays, so extract "hostname" into a variable which can
still used as a Bourne shell snippet.

While we're at it, include "torsocks" in the git command used
for .onion URLs since that's the (near)-universal wrapper for
Tor-ifying things (like git) which are dynamically linked to
libc.

Cc: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Link: https://public-inbox.org/meta/20210816163654.c6gfzuezhji4l6s7@nitro.local/
lib/PublicInbox/WwwStream.pm