Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -339,7 +339,7 @@ |
340 | 340 | if( $expirestr == 'other' ) |
341 | 341 | $expirestr = $this->BlockOther; |
342 | 342 | |
343 | | - if (strlen($expirestr) == 0) { |
| 343 | + if ((strlen($expirestr) == 0) || (strlen($expirestr) > 50)) { |
344 | 344 | return array('ipb_expiry_invalid'); |
345 | 345 | } |
346 | 346 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -414,6 +414,8 @@ |
415 | 415 | on Special:Newpages. |
416 | 416 | * (bug 12716) Trying to unprotect a title that isn't protected no longer |
417 | 417 | generates a log entry. |
| 418 | +* (bug 14088) Excessively long block expiry times are rejected as invalid, |
| 419 | + keeps the log page from being distorted. |
418 | 420 | |
419 | 421 | === API changes in 1.13 === |
420 | 422 | |