gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/docman view.php,1.4,1.4.2.1


From: lo-lan-do
Subject: [Gforge-commits] gforge/www/docman view.php,1.4,1.4.2.1
Date: Fri, 28 May 2004 12:04:44 -0500

Update of /cvsroot/gforge/gforge/www/docman
In directory db.perdue.net:/tmp/cvs-serv23414/www/docman

Modified Files:
      Tag: Branch_3_1
        view.php 
Log Message:
Fixed docman/view.php to display filenames appropriately in case of
files with spaces in their name (patch from Emmanuel Lacour
<address@hidden>).  3.1-17.


Index: view.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/docman/view.php,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- a/view.php  12 Feb 2003 14:24:39 -0000      1.4
+++ b/view.php  28 May 2004 17:04:42 -0000      1.4.2.1
@@ -43,7 +43,7 @@
                exit_error('Error',$d->getErrorMessage());
        }
 
-       Header ("Content-disposition: filename=".$d->getFileName());
+       Header ("Content-disposition: filename=\"".$d->getFileName()."\"");
 
        if (strstr($d->getFileType(),'app')) {
                Header ("Content-type: application/binary");





reply via email to

[Prev in Thread] Current Thread [Next in Thread]