? odt.patch
? system.patch
? upload.patch
Index: modules/upload.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/Attic/upload.module,v
retrieving revision 1.100.2.10
diff -u -p -r1.100.2.10 upload.module
--- modules/upload.module	1 Dec 2006 09:59:36 -0000	1.100.2.10
+++ modules/upload.module	21 Dec 2006 00:44:59 -0000
@@ -190,13 +190,10 @@ function upload_file_download($file) {
       if (node_access('view', $node)) {
         $name = mime_header_encode($file->filename);
         $type = mime_header_encode($file->filemime);
-        // Serve images and text inline for the browser to display rather than download.
-        $disposition = ereg('^(text/|image/)', $file->filemime) ? 'inline' : 'attachment';
         return array(
           'Content-Type: '. $type .'; name='. $name,
           'Content-Length: '. $file->filesize,
-          'Content-Disposition: '. $disposition .'; filename='. $name,
-	  'Expires: 0', 'Pragma: cache', 'Cache-Control: private'
+          'Expires: 0', 'Pragma: cache', 'Cache-Control: private'
         );
       }
       else {
