]> Sergey Matveev's repositories - public-inbox.git/commit
wwwlisting: fix grep call for match=domain filtering
authorKyle Meyer <kyle@kyleam.com>
Thu, 30 Jul 2020 05:30:55 +0000 (01:30 -0400)
committerEric Wong <e@yhbt.net>
Thu, 30 Jul 2020 07:53:30 +0000 (07:53 +0000)
commit41ecd08ee60daa495de3a2fc2c0296dc9cc9a0b3
tree2c683d8b59e666aec1a82810b21906db0ce2b801
parent9e0c2886493863b4bc6483ce0a3bfd3d599c8c87
wwwlisting: fix grep call for match=domain filtering

The grep call in list_match_domain_i returns true for all inboxes,
even ones without a URL that matches the regular expression, because
the qr value passed to grep is not surrounded by slashes.  Add them.

Fixes: 1988d730c0088e8b (config: support multi-value inbox.*.*url)
lib/PublicInbox/WwwListing.pm