aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type
diff options
context:
space:
mode:
Diffstat (limited to 'type')
-rw-r--r--type/Default.class.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/type/Default.class.php b/type/Default.class.php
index 01718e4..0d3971f 100644
--- a/type/Default.class.php
+++ b/type/Default.class.php
@@ -123,6 +123,8 @@ class Type_Default {
123 function parse_filename($file) { 123 function parse_filename($file) {
124 if ($this->graph_type == 'canvas') { 124 if ($this->graph_type == 'canvas') {
125 $file = 'rrd.php/' . str_replace($this->datadir . '/', '', $file); 125 $file = 'rrd.php/' . str_replace($this->datadir . '/', '', $file);
126 # rawurlencode all but /
127 $file = str_replace('%2F', '/', rawurlencode($file));
126 } 128 }
127 return $this->rrd_escape($file); 129 return $this->rrd_escape($file);
128 } 130 }