r25934 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25933‎ | r25934 | r25935 >
Date:13:42, 19 September 2007
Author:aaron
Status:old
Tags:
Comment:
*Normalize IPv6 storage
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/CheckUser.php
@@ -71,7 +71,7 @@
7272 'cuc_last_oldid' => $rc_last_oldid,
7373 'cuc_type' => $rc_type,
7474 'cuc_timestamp' => $rc_timestamp,
75 - 'cuc_ip' => $ip,
 75+ 'cuc_ip' => IP::sanitizeIP($ip),
7676 'cuc_ip_hex' => $ip ? IP::toHex( $ip ) : null,
7777 'cuc_xff' => !$isSquidOnly ? $xff : '',
7878 'cuc_xff_hex' => ($xff_ip && !$isSquidOnly) ? IP::toHex( $xff_ip ) : null,

Status & tagging log