Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -600,6 +600,8 @@ |
601 | 601 | $this->mConds[] = "NULL"; |
602 | 602 | } else { |
603 | 603 | $this->mConds['log_user'] = $userid; |
| 604 | + // Paranoia: avoid brute force searches (bug 17342) |
| 605 | + $this->mConds[] = 'log_deleted & ' . LogPage::DELETED_USER . ' = 0'; |
604 | 606 | $this->user = $usertitle->getText(); |
605 | 607 | } |
606 | 608 | } |
— | — | @@ -640,6 +642,8 @@ |
641 | 643 | $this->mConds['log_namespace'] = $ns; |
642 | 644 | $this->mConds['log_title'] = $title->getDBkey(); |
643 | 645 | } |
| 646 | + // Paranoia: avoid brute force searches (bug 17342) |
| 647 | + $this->mConds[] = 'log_deleted & ' . LogPage::DELETED_ACTION . ' = 0'; |
644 | 648 | } |
645 | 649 | |
646 | 650 | public function getQueryInfo() { |