File bug275_ganglia.php.patch of Package ganglia

--- ./web/ganglia.php.ori	2010-02-17 12:05:39.000000000 +0100
+++ ./web/ganglia.php	2011-04-16 11:28:46.000000000 +0200
@@ -99,7 +99,7 @@
             break;
 
          case "METRICS":
-            $metricname = $attrs['NAME'];
+            $metricname = rawurlencode( $attrs['NAME'] );
             $metrics[$sourcename][$metricname] = $attrs;
             break;
 
@@ -164,7 +164,7 @@
             break;
 
          case "METRIC":
-            $metricname = $attrs['NAME'];
+            $metricname = rawurlencode( $attrs['NAME'] );
             $metrics[$hostname][$metricname] = $attrs;
             break;
 
@@ -231,7 +231,7 @@
             break;
 
          case "METRIC":
-            $metricname = $attrs['NAME'];
+            $metricname = rawurlencode( $attrs['NAME'] );
             $metrics[$metricname] = $attrs;
             break;