didn't get around to this before since it was PHP 4.3+ only...
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 30 Jun 2006 17:21:29 +0000 (17:21 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 30 Jun 2006 17:21:29 +0000 (17:21 +0000)
commitf85cf00884f49f5ac686a7848e770f676cce4e7a
tree5321f25ed6e3825e3ad66d5204b7b0d6d9e96430
parent4f15af2d2c398eaef26368d6ba9fea798cd3ff69
didn't get around to this before since it was PHP 4.3+ only...
* Use mysql_real_escape_string instead of addslashes for string escaping in
  the MySQL Database class. This may fix some rare breakage with binary fields.
  Note that MediaWiki does not support the multibyte character sets where a
  "dumb" byte replacement can be actively dangerous; UTF-8 is always safe
  in this regard due to the bit patterns which make head and tail bytes
  distinct.
RELEASE-NOTES
includes/Database.php