r107137 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107136‎ | r107137 | r107138 >
Date:07:41, 23 December 2011
Author:aaron
Status:ok
Tags:
Comment:
Follow-up r98698: Reduce amount of ipv6 spam in FileCacheBase::incrMissesRecent() per CR
Modified paths:
  • /trunk/phase3/includes/cache/FileCacheBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/cache/FileCacheBase.php
@@ -210,7 +210,7 @@
211211 return;
212212 }
213213 $ip = IP::isIPv6( $ip )
214 - ? IP::sanitizeRange( "$ip/64" )
 214+ ? IP::sanitizeRange( "$ip/32" )
215215 : IP::sanitizeRange( "$ip/16" );
216216
217217 # Bail out if a request already came from this range...

Sign-offs

UserFlagDate
Nikerabbitinspected13:43, 23 December 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98698FileCache:...aaron17:53, 2 October 2011

Status & tagging log