Skip to content

Commit

Permalink
Add comment to mention that MS_ENABLE_CGI_CL_DEBUG_ARGS is diabled be…
Browse files Browse the repository at this point in the history
…cause of security concerns
  • Loading branch information
rouault committed Oct 2, 2014
1 parent 95bc4e2 commit 8e1e90a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mapserv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 8e1e90a

Please sign in to comment.