--- upload.module-old	2005-10-11 15:26:34.000000000 +0400
+++ upload.module	2005-10-11 15:27:24.000000000 +0400
@@ -92,7 +92,7 @@
   foreach ($roles as $rid => $role) {
     $form["settings_role_$rid"] = array(type => 'fieldset', title => t('Settings for %role', array('%role' => theme('placeholder', $role))), collapsible => TRUE, collapsed => TRUE);
     $form["settings_role_$rid"]["upload_extensions_$rid"] = array(
-      type => 'textfield', title => t('Permitted file extensions'), default_value => variable_get("upload_extensions_$rid", "jpg jpeg gif png txt html doc xls pdf ppt pps"),
+      type => 'textfield', title => t('Permitted file extensions'), default_value => variable_get("upload_extensions_$rid", "jpg jpeg gif png txt html sxg sxc sxm sxi sxw doc xls pdf ppt pps tar tar.gz tar.bz2 tgz tbz2 zip arj rar"),
       size => 60, maxlength => 255, description => t('Extensions that users in this role can upload. Separate extensions with a space and do not include the leading dot.')
     );
     $form["settings_role_$rid"]["upload_uploadsize_$rid"] = array(
@@ -173,7 +173,7 @@
           // all roles prevent it.
           $total_usersize = upload_space_used($user->uid) + $filesize;
           foreach ($user->roles as $rid => $name) {
-            $extensions = variable_get("upload_extensions_$rid", 'jpg jpeg gif png txt html doc xls pdf ppt pps');
+            $extensions = variable_get("upload_extensions_$rid", 'jpg jpeg gif png txt html sxg sxc sxm sxi sxw doc xls pdf ppt pps tar tar.gz tar.bz2 tgz tbz2 zip arj rar');
             $uploadsize = variable_get("upload_uploadsize_$rid", 1) * 1024 * 1024;
             $usersize = variable_get("upload_usersize_$rid", 1) * 1024 * 1024;
 
