diff options
author | Eric Wong <e@80x24.org> | 2015-12-04 01:02:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-04 01:02:24 +0000 |
commit | 5bf2748a96a2ef3d1c49ff5b5354c65fd82b7545 (patch) | |
tree | db9bada2593939e7f55e25dae4871fe306cd6c9c | |
parent | 5abb90d6872d320475d8b4d7181c36e9f1906719 (diff) | |
download | public-inbox-5bf2748a96a2ef3d1c49ff5b5354c65fd82b7545.tar.gz |
It's potentially unsafe (leading to hidden messages) at any level.
-rw-r--r-- | lib/PublicInbox/View.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index d8fb1cb5..f34e1f36 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -822,7 +822,6 @@ sub add_topic { unless ($level == 0) { $topic =~ s/\A\s*\[[^\]]+\]\s*//g; } - $topic = substr($topic, 0, 30); if (++$state->{subjs}->{$topic} == 1) { push @{$state->{order}}, [ $level, $subj, $topic ]; |