diff options
Diffstat (limited to 'type/Default.class.php')
| -rw-r--r-- | type/Default.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/type/Default.class.php b/type/Default.class.php index 57b505f..8704d06 100644 --- a/type/Default.class.php +++ b/type/Default.class.php | |||
| @@ -126,8 +126,8 @@ class Type_Default { | |||
| 126 | # rawurlencode all but / | 126 | # rawurlencode all but / |
| 127 | $file = str_replace('%2F', '/', rawurlencode($file)); | 127 | $file = str_replace('%2F', '/', rawurlencode($file)); |
| 128 | } else { | 128 | } else { |
| 129 | # escape spaces | 129 | # escape characters |
| 130 | $file = str_replace(' ', '\ ', $file); | 130 | $file = str_replace(array(' ', '(', ')'), array('\ ', '\(', '\)'), $file); |
| 131 | } | 131 | } |
| 132 | return $this->rrd_escape($file); | 132 | return $this->rrd_escape($file); |
| 133 | } | 133 | } |
