? sites.repository ? profiles/atrus ? profiles/developer ? profiles/ermarian ? profiles/gandalf ? profiles/small_business ? profiles/zebra Index: includes/file.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/file.inc,v retrieving revision 1.127 diff -u -p -r1.127 file.inc --- includes/file.inc 5 Jul 2008 18:34:29 -0000 1.127 +++ includes/file.inc 25 Jul 2008 01:14:00 -0000 @@ -658,7 +658,7 @@ function file_validate_extensions($file, // Bypass validation for uid = 1. if ($user->uid != 1) { - $regex = '/\.(' . ereg_replace(' +', '|', preg_quote($extensions)) . ')$/i'; + $regex = '/\.(' . preg_replace('/ +/', '|', preg_quote($extensions)) . ')$/i'; if (!preg_match($regex, $file->filename)) { $errors[] = t('Only files with the following extensions are allowed: %files-allowed.', array('%files-allowed' => $extensions)); } Index: includes/unicode.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/unicode.inc,v retrieving revision 1.31 diff -u -p -r1.31 unicode.inc --- includes/unicode.inc 18 Jun 2008 03:36:23 -0000 1.31 +++ includes/unicode.inc 25 Jul 2008 01:14:00 -0000 @@ -135,7 +135,7 @@ function drupal_xml_parser_create(&$data } // Check for an encoding declaration in the XML prolog if no BOM was found. - if (!$bom && ereg('^<\?xml[^>]+encoding="([^"]+)"', $data, $match)) { + if (!$bom && preg_match('/^<\?xml[^>]+encoding="(.+?)"/', $data, $match)) { $encoding = $match[1]; } @@ -145,7 +145,7 @@ function drupal_xml_parser_create(&$data $out = drupal_convert_to_utf8($data, $encoding); if ($out !== FALSE) { $encoding = 'utf-8'; - $data = ereg_replace('^(<\?xml[^>]+encoding)="([^"]+)"', '\\1="utf-8"', $out); + $data = preg_replace('/^(<\?xml[^>]+encoding)="(.+?)"/', '\\1="utf-8"', $out); } else { watchdog('php', 'Could not convert XML encoding %s to UTF-8.', array('%s' => $encoding), WATCHDOG_WARNING); Index: modules/blogapi/blogapi.module =================================================================== RCS file: /cvs/drupal/drupal/modules/blogapi/blogapi.module,v retrieving revision 1.120 diff -u -p -r1.120 blogapi.module --- modules/blogapi/blogapi.module 23 Jul 2008 07:42:08 -0000 1.120 +++ modules/blogapi/blogapi.module 25 Jul 2008 01:14:00 -0000 @@ -552,9 +552,9 @@ function blogapi_validate_user($username * For the blogger API, extract the node title from the contents field. */ function blogapi_blogger_title(&$contents) { - if (eregi('