| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/mail/roundcube/files/ |
Upload File : |
--- program/lib/Roundcube/rcube_message.php.orig 2022-06-26 20:26:58 UTC
+++ program/lib/Roundcube/rcube_message.php
@@ -914,8 +914,7 @@ class rcube_message
else if (
preg_match('/^(inline|attach)/', $mail_part->disposition)
|| !empty($mail_part->headers['content-id'])
- || ($mail_part->filename &&
- (empty($mail_part->disposition) || preg_match('/^[a-z0-9!#$&.+^_-]+$/i', $mail_part->disposition)))
+ || $mail_part->filename
) {
// skip apple resource forks
if ($message_ctype_secondary == 'appledouble' && $secondary_type == 'applefile') {