Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3060
pager-diff.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 9:20 PM
2014-11-21 21:20:59 (UTC+0)
Size
556 B
Referenced Files
None
Subscribers
None
pager-diff.txt
View Options
Index: includes/Pager.php
===================================================================
--- includes/Pager.php (revision 16755)
+++ includes/Pager.php (working copy)
@@ -77,7 +77,7 @@
# HTML!
$this->mOffset = $this->mRequest->getText( 'offset' );
$this->mLimit = $this->mRequest->getInt( 'limit', $this->mDefaultLimit );
- if ( $this->mLimit <= 0 ) {
+ if ( $this->mLimit <= 0 || $this->mLimit > 50000 ) {
$this->mLimit = $this->mDefaultLimit;
}
$this->mIsBackwards = ( $this->mRequest->getVal( 'dir' ) == 'prev' );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2630
Default Alt Text
pager-diff.txt (556 B)
Attached To
Mode
T8890: SQL query error on bad input to [[special:ipblocklist]] due to negative LIMIT clause
Attached
Detach File
Event Timeline
Log In to Comment