Use addQuotes() consistently when building lists of group and user names.
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 20 Dec 2007 01:16:14 +0000 (01:16 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 20 Dec 2007 01:16:14 +0000 (01:16 +0000)
commite74c59d21680811b1cf32f825c4d0edd3bf2887c
treeb1aad2367fc6ce5dfafcf888394165df1ec854e0
parentecf9fc336f0843babb3101b71bbc32c7c7a11deb
Use addQuotes() consistently when building lists of group and user names.
Some were missing the quoting, using raw strencode(). This caused mysql errors at best, and hypothetically could be used for some kind of sql injection. :)

I'd recommend making further refactoring to use the query-building functions ($db->select, $db->update, etc) to avoid having to do these by hand.
maintenance/rebuildrecentchanges.inc