Page MenuHomePhabricator

PageHistory don't use limit
Closed, ResolvedPublic

Description

Author: chantepie

Description:
PageHistory patch

PageHistory don't use limit request parameter.


Version: 1.12.x
Severity: normal

Attached:

Details

Reference
bz14778

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:11 PM
bzimport set Reference to bz14778.
bzimport added a subscriber: Unknown Object (MLST).

chantepie wrote:

(In reply to comment #2)

Reverted in r37536 by Brion

Why ?

Clicking the link would have told you:
Revert r37508 for now ((bug 14778) 'limit' parameter now applies to history feeds as well as history pages)
The $limit parameter isn't validated properly as a limit, and is passed to the database producing an SQL error if negative.

Reimplemented in r37699, no longer allows negatives.