Gianluca Giacometti
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
program/include/rcmail_output_html.php
|
|
@ -1084,7 +1084,7 @@ class rcmail_output_html extends rcmail_output |
|
|
|
$prefix = str_repeat('../', count($path) + 1); |
|
|
|
} |
|
|
|
|
|
|
|
if (!str_starts_with($location, $prefix . 'static.php')) { |
|
|
|
if (!str_starts_with($location, $prefix . 'static.php') && !str_starts_with($location, 'data:')) { |
|
|
|
$location = $prefix . 'static.php/' . $location; |
|
|
|
} |
|
|
|
} |
|
|
|