]> Sergey Matveev's repositories - public-inbox.git/commit - lib/PublicInbox/View.pm
view: do not redundantly obfuscate addresses
authorEric Wong <e@yhbt.net>
Mon, 6 Apr 2020 08:32:52 +0000 (08:32 +0000)
committerEric Wong <e@yhbt.net>
Tue, 7 Apr 2020 19:37:39 +0000 (19:37 +0000)
commit78792fee4031aee0a8bd532bff98efc2b9409d68
tree5fca984ab4c4faf18f5048d9b0eae1cace4e9d76
parent17a3d433a1e8617a1e957da8efe11875efaa0f62
view: do not redundantly obfuscate addresses

We shouldn't rerun the address obfuscator on data we've
already run through.  Instead, run through the unescaped
text part and substitute the UTF-8 "\x{2022}" substitution
before it hits HTML escaping

Fixes: 9bdd81dc16ba6511 ("view: msg_iter calls add_body_text directly")
lib/PublicInbox/Hval.pm
lib/PublicInbox/View.pm