RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / view / kml.cgi
index 7eaaa2a..a156edc 100644 (file)
@@ -6,6 +6,6 @@ $kml->Point( map { $_=>scalar($cgi->param($_)) } qw( name lat lon ) );
 
 #http_header('Content-Type' => 'application/vnd.google-earth.kml+xml' ); #kml
 http_header('Content-Type' => 'application/vnd.google-earth.kmz' ); #kmz
-( my $name = $cgi->param('name') ) =~ s/[^a-z0-9]/_/g; #perhaps too restrictive
+( my $name = $cgi->param('name') ) =~ s/[^a-z0-9]/_/gi; #perhaps too restrictive
 http_header('Content-Disposition' => "filename=$name.kmz" );
 </%init>