[mapserver-commits] r10309 - branches/branch-5-6/mapserver

svn at osgeo.org svn at osgeo.org
Thu Jul 8 16:59:27 EDT 2010


Author: assefa
Date: 2010-07-08 20:59:27 +0000 (Thu, 08 Jul 2010)
New Revision: 10309

Modified:
   branches/branch-5-6/mapserver/nmake.opt
Log:
Disable insecure mapserv cgi command-line debug params by default (#3484)

Modified: branches/branch-5-6/mapserver/nmake.opt
===================================================================
--- branches/branch-5-6/mapserver/nmake.opt	2010-07-08 20:13:21 UTC (rev 10308)
+++ branches/branch-5-6/mapserver/nmake.opt	2010-07-08 20:59:27 UTC (rev 10309)
@@ -623,6 +623,13 @@
 #FCGIDIR=$(MS_BASE)\..\fcgi-2.4.0
 
 
+#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#Enable mapserv CGI command-line debug arguments (disabled by default). 
+#These command-line args may be insecure and should be enabled only on 
+#development servers and only if you understand the security implications. 
+#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#MS_ENABLE_CGI_CL_DEBUG_ARGS=-DMS_ENABLE_CGI_CL_DEBUG_ARGS
+
 ########################################################################
 # Section VII: Variable Setup
 ########################################################################
@@ -858,7 +865,8 @@
           $(WFS) $(WFSCLIENT) $(WCS) $(PDF) $(EGIS) \
           $(USE_GD_ANTIALIAS) $(ORACLE) $(MING_VERSION) \
           $(SDE_OPT) $(ICONV) $(GEOS) $(ZLIB) $(SOS)  $(XML2_ENABLED) $(AGG) \
-          $(OGL) $(CAIRO) $(RGBA_PNG_ENABLED) $(FRIBIDI)
+          $(OGL) $(CAIRO) $(RGBA_PNG_ENABLED) $(FRIBIDI) \
+          $(MS_ENABLE_CGI_CL_DEBUG_ARGS)
 
 !IFDEF WIN64
 MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32 -DUSE_GENERIC_MS_NINT



More information about the mapserver-commits mailing list