Permalink
Browse files

Add comment to mention that MS_ENABLE_CGI_CL_DEBUG_ARGS is diabled be…

…cause of security concerns
  • Loading branch information...
rouault committed Oct 2, 2014
1 parent 95bc4e2 commit 8e1e90a4cd04b45e2feaf67d8f945faa4bbd0ba9
Showing with 2 additions and 1 deletion.
  1. +2 −1 mapserv.c
View
@@ -162,7 +162,8 @@ int main(int argc, char *argv[])
for( iArg = 1; iArg < argc; iArg++ ) {
/* Keep only "-v", "-nh" and "QUERY_STRING=..." enabled by default.
* The others will require an explicit -DMS_ENABLE_CGI_CL_DEBUG_ARGS
* at compile time.
* at compile time. Do *NOT* enable them since they can cause security
* problems : https://github.com/mapserver/mapserver/issues/3485
*/
if( strcmp(argv[iArg],"-v") == 0 ) {
printf("%s\n", msGetVersion());

0 comments on commit 8e1e90a

Please sign in to comment.