r98457 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98456‎ | r98457 | r98458 >
Date:21:17, 29 September 2011
Author:reedy
Status:ok
Tags:
Comment:
Comment patch by Van de Bugger from bug 31256
Modified paths:
  • /trunk/extensions/AntiSpoof/AntiSpoof_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AntiSpoof/AntiSpoof_body.php
@@ -128,17 +128,18 @@
129129 );
130130
131131 # Specially naughty characters we don't ever want to see...
 132+ # Slash-like characters.
132133 private static $character_blacklist = array(
133 - 0x0337,
134 - 0x0338,
135 - 0x2044,
136 - 0x2215,
137 - 0x23AE,
138 - 0x29F6,
139 - 0x29F8,
140 - 0x2AFB,
141 - 0x2AFD,
142 - 0xFF0F
 134+ 0x0337, # Combining short solidus overlay
 135+ 0x0338, # Combining long solidus overlay
 136+ 0x2044, # Fraction slash
 137+ 0x2215, # Division slash
 138+ 0x23AE, # Integral extension
 139+ 0x29F6, # Solidus with overbar
 140+ 0x29F8, # Big solidus
 141+ 0x2AFB, # Triple solidus binary relation
 142+ 0x2AFD, # Double solidus operator
 143+ 0xFF0F # Fullwidth solidus
143144 );
144145
145146 # Equivalence sets

Status & tagging log