]> Sergey Matveev's repositories - public-inbox.git/commit
searchview: avoid displaying full paths on errors
authorEric Wong <e@80x24.org>
Tue, 25 Jun 2019 04:08:14 +0000 (04:08 +0000)
committerEric Wong <e@80x24.org>
Tue, 25 Jun 2019 05:59:14 +0000 (05:59 +0000)
commitc19a4e88f49ba3496751c4b87ebcfa0f6b47f0ce
tree260895fe1e65c834f69e6d32e233a65823186303
parent2752bc2b24d1e2c96c18b5f18372fc25e0ffc1fa
searchview: avoid displaying full paths on errors

Displaying full path names of installed modules could expose
unnecessary information about user home directory names or other
potentially sensitive information.  However, displaying a module
name could still be useful for diagnosing problems, so map full
paths to the relevant part of the path name which is relevant to
the package name.

Reported-by: Ali Alnubani <alialnu@mellanox.com>
  https://public-inbox.org/meta/20190611193815.c4uovtlp574bid6x@dcvr/
lib/PublicInbox/SearchView.pm