about summary refs log tree commit homepage
path: root/lib/PublicInbox/NNTP.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-06-23 07:14:22 -0400
committerEric Wong <e@80x24.org>2021-06-23 19:24:50 +0000
commit5ef37f4a13e2be711ef074dc2cd9994005273117 (patch)
tree81a59f35839a7f6e0433de2b1f299706c1760c51 /lib/PublicInbox/NNTP.pm
parent520be116e8a686cb223b48fad1de29201dee45be (diff)
downloadpublic-inbox-5ef37f4a13e2be711ef074dc2cd9994005273117.tar.gz
Sometimes users (or bots) may lead queries with '&' and
trigger uninitialized variable warnings, just ignore them
and give consumers a $ctx->{qp}->{''} entry.

While we're in the area, pass a regexp rather than scalar string
to the `split' perlop to prevent Perl from recompiling the
regexp on every call.
Diffstat (limited to 'lib/PublicInbox/NNTP.pm')
0 files changed, 0 insertions, 0 deletions