From: <eob...@us...> - 2009-07-28 18:59:31
|
Revision: 3345 http://ipcop.svn.sourceforge.net/ipcop/?rev=3345&view=rev Author: eoberlander Date: 2009-07-28 18:59:22 +0000 (Tue, 28 Jul 2009) Log Message: ----------- Add cleanhtml to name field to avoid commas. Modified Paths: -------------- ipcop/trunk/html/cgi-bin/services.cgi Modified: ipcop/trunk/html/cgi-bin/services.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/services.cgi 2009-07-28 18:40:06 UTC (rev 3344) +++ ipcop/trunk/html/cgi-bin/services.cgi 2009-07-28 18:59:22 UTC (rev 3345) @@ -631,6 +631,9 @@ return; } + # Strip out commas which will break CSV config file. + $cgiparams{'SERVICE_NAME'} = &Header::cleanhtml($cgiparams{'SERVICE_NAME'}); + if ( $cgiparams{'PROTOCOL'} eq 'tcp' || $cgiparams{'PROTOCOL'} eq 'udp' || $cgiparams{'PROTOCOL'} eq 'tcpudp') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |