aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/Default.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'type/Default.class.php')
-rw-r--r--type/Default.class.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/type/Default.class.php b/type/Default.class.php
index 0d3971f..e1b8835 100644
--- a/type/Default.class.php
+++ b/type/Default.class.php
@@ -125,6 +125,9 @@ class Type_Default {
125 $file = 'rrd.php/' . str_replace($this->datadir . '/', '', $file); 125 $file = 'rrd.php/' . str_replace($this->datadir . '/', '', $file);
126 # rawurlencode all but / 126 # rawurlencode all but /
127 $file = str_replace('%2F', '/', rawurlencode($file)); 127 $file = str_replace('%2F', '/', rawurlencode($file));
128 } else {
129 # escape spaces
130 $file = str_replace(' ', '\ ', $file);
128 } 131 }
129 return $this->rrd_escape($file); 132 return $this->rrd_escape($file);
130 } 133 }