Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cypht-org/cypht
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0ba7baf622724c8e512c30b386d5e696a15710db
Choose a base ref
..
head repository: cypht-org/cypht
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5faa0eb660353de88b185e0a55251773a172904e
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/sievefilters/modules.php
2 changes: 1 addition & 1 deletion modules/sievefilters/modules.php
Original file line number Diff line number Diff line change
@@ -462,7 +462,7 @@ public function process() {
Hm_Msgs::add('ERRIMAP Mailbox select error');
return;
}
$msg_header = $imap->get_message_headers($this->request->post['imap_msg_uid']);
$msg_header = $imap->get_message_headers($form['imap_msg_uid']);
$test_pattern = "/(?:[a-z0-9!#$%&'*+=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+=?^_`{|}~-]+)*|\"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/";
preg_match_all($test_pattern, $msg_header['From'], $email_sender);
$email_sender = $email_sender[0][0];