[mapserver-commits] r13144 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Feb 13 16:58:25 EST 2012


Author: rouault
Date: 2012-02-13 13:58:25 -0800 (Mon, 13 Feb 2012)
New Revision: 13144

Modified:
   trunk/mapserver/mapogroutput.c
Log:
OGR output: fix wrong header when outputing ZIP file (trunk only, fix r12907)

Modified: trunk/mapserver/mapogroutput.c
===================================================================
--- trunk/mapserver/mapogroutput.c	2012-02-13 20:29:51 UTC (rev 13143)
+++ trunk/mapserver/mapogroutput.c	2012-02-13 21:58:25 UTC (rev 13144)
@@ -1077,7 +1077,7 @@
         CPLCloseZip( hZip );
 
         if( sendheaders ) {
-            msIO_setHeader("Content-Disposition","attachment; filename=%s\n",fo_filename);
+            msIO_setHeader("Content-Disposition","attachment; filename=%s",fo_filename);
             msIO_setHeader("Content-Type","application/zip");
             msIO_sendHeaders();
         }



More information about the mapserver-commits mailing list