Aleksander Machniak
2013-06-06 76f4f7970d052b9f5c0de82f99024b9ab0100294
Fix resolving /this/ in file_callback()
1 files modified
2 ■■■ changed files
program/include/rcmail_output_html.php 2 ●●● patch | view | raw | blame | history
program/include/rcmail_output_html.php
@@ -656,7 +656,7 @@
    protected function file_callback($matches)
    {
        $file = $matches[3];
        $file[0] = preg_replace('!^/this/!', '/', $file[0]);
        $file = preg_replace('!^/this/!', '/', $file);
        // correct absolute paths
        if ($file[0] == '/') {