* (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 13 Jun 2007 19:47:44 +0000 (19:47 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 13 Jun 2007 19:47:44 +0000 (19:47 +0000)
commitd5a8cc2dd1c15e07beaf2f1468e2b775dc8e812a
tree1c51aa4f8114e0f9eabbb705542f78fd08392a60
parent9d2379dcba2639e68597534c1eff9a2d7772d2de
* (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
Regex fragment IP_ADDRESS_STRING was not parenthesized properly, causing the preg_match in IP::isIPAddress() to get false positives on strings which _ended_ in IPv6 subsequences.
RELEASE-NOTES
includes/IP.php