diff options
author | Eric Wong <e@80x24.org> | 2016-07-02 07:56:37 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-02 07:57:29 +0000 |
commit | 2375cc488f2b1ea314452067a196a576558f7b57 (patch) | |
tree | 6041a123b6cae3b312024de21b04972bf46c12e2 /lib/PublicInbox/View.pm | |
parent | 4d02ed7d60ecff963d3026187a0357e359fd2981 (diff) | |
download | public-inbox-2375cc488f2b1ea314452067a196a576558f7b57.tar.gz |
Plack::Request will check the request body by merely calling "param", totally unnecessary and sneaky.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r-- | lib/PublicInbox/View.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index fd882aa0..1527959d 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -908,7 +908,7 @@ sub emit_topics { sub emit_index_topics { my ($ctx) = @_; - my ($off) = (($ctx->{cgi}->param('o') || '0') =~ /(\d+)/); + my ($off) = (($ctx->{qp}->{o} || '0') =~ /(\d+)/); $ctx->{order} = []; $ctx->{subjs} = {}; $ctx->{latest} = {}; |