[CUWiN-Dev] config.cgi patch

Bryan Cribbs bdcribbs at ojctech.com
Wed Mar 30 17:28:41 CST 2005


Thanks, I fixed it in our sources.

* Bill Comisky <bcomisky at pobox.com> :
> 
> Attached is a patch to extras/var/www/config.cgi from src/boot-image. I 
> quoted the input to str_trim.  As it was, it only was operating on the 
> first nameserver listed in the form if >1 nameserver was provided (space 
> separated), giving me this output:
> 
> Processing input.
> local: 216.231.41.2: bad variable name Attempting reconfigure.
> Reconfiguration complete.
> 
> bill
> 
> --
> Bill Comisky
> bcomisky at pobox.com

> --- extras/var/www/config.cgi	Mon Feb 14 03:57:49 2005
> +++ extras/var/www/config.cgi	Wed Mar 30 11:13:33 2005
> @@ -60,7 +60,7 @@
>  		new=$(echo $cleansed | 
>  		    sed -n -e "s/.*$var=\([^&]*\).*/\1/p")
>  
> -		new=$(str_trim $new)
> +		new=$(str_trim "$new")
>  
>  		if [ "$new" = "" ] ;then
>  			new=$val

> _______________________________________________
> CU-Wireless-Dev mailing list
> CU-Wireless-Dev at lists.cuwireless.net
> http://lists.chambana.net/cgi-bin/listinfo/cu-wireless-dev



More information about the CU-Wireless-Dev mailing list