Changeset 59481 for trunk/src/wp-includes/PHPMailer/PHPMailer.php
- Timestamp:
- 12/03/2024 03:20:13 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/PHPMailer/PHPMailer.php
r59246 r59481 254 254 * as defined in RFC5322 section 3.6.4 or it will be ignored. 255 255 * 256 * @see https:// tools.ietf.org/html/rfc5322#section-3.6.4256 * @see https://www.rfc-editor.org/rfc/rfc5322#section-3.6.4 257 257 * 258 258 * @var string … … 388 388 * delivery's outcome (success or failure) is not yet decided. 389 389 * 390 * @see https:// tools.ietf.org/html/rfc3461 See section4.1 for more information about NOTIFY390 * @see https://www.rfc-editor.org/rfc/rfc3461.html#section-4.1 for more information about NOTIFY 391 391 */ 392 392 public $dsn = ''; … … 757 757 * @var string 758 758 */ 759 const VERSION = '6.9. 2';759 const VERSION = '6.9.3'; 760 760 761 761 /** … … 1874 1874 protected static function isPermittedPath($path) 1875 1875 { 1876 //Matches scheme definition from https:// tools.ietf.org/html/rfc3986#section-3.11876 //Matches scheme definition from https://www.rfc-editor.org/rfc/rfc3986#section-3.1 1877 1877 return !preg_match('#^[a-z][a-z\d+.-]*://#i', $path); 1878 1878 } … … 2708 2708 2709 2709 //Only allow a custom message ID if it conforms to RFC 5322 section 3.6.4 2710 //https:// tools.ietf.org/html/rfc5322#section-3.6.42710 //https://www.rfc-editor.org/rfc/rfc5322#section-3.6.4 2711 2711 if ( 2712 2712 '' !== $this->MessageID && … … 4913 4913 * Canonicalized headers should *always* use CRLF, regardless of mailer setting. 4914 4914 * 4915 * @see https:// tools.ietf.org/html/rfc6376#section-3.4.24915 * @see https://www.rfc-editor.org/rfc/rfc6376#section-3.4.2 4916 4916 * 4917 4917 * @param string $signHeader Header … … 4925 4925 //Unfold header lines 4926 4926 //Note PCRE \s is too broad a definition of whitespace; RFC5322 defines it as `[ \t]` 4927 //@see https:// tools.ietf.org/html/rfc5322#section-2.24927 //@see https://www.rfc-editor.org/rfc/rfc5322#section-2.2 4928 4928 //That means this may break if you do something daft like put vertical tabs in your headers. 4929 4929 $signHeader = preg_replace('/\r\n[ \t]+/', ' ', $signHeader); … … 4957 4957 * Canonicalized bodies should *always* use CRLF, regardless of mailer setting. 4958 4958 * 4959 * @see https:// tools.ietf.org/html/rfc6376#section-3.4.34959 * @see https://www.rfc-editor.org/rfc/rfc6376#section-3.4.3 4960 4960 * 4961 4961 * @param string $body Message Body … … 4993 4993 $DKIMtime = time(); 4994 4994 //Always sign these headers without being asked 4995 //Recommended list from https:// tools.ietf.org/html/rfc6376#section-5.4.14995 //Recommended list from https://www.rfc-editor.org/rfc/rfc6376#section-5.4.1 4996 4996 $autoSignHeaders = [ 4997 4997 'from', … … 5099 5099 //The DKIM-Signature header is included in the signature *except for* the value of the `b` tag 5100 5100 //which is appended after calculating the signature 5101 //https:// tools.ietf.org/html/rfc6376#section-3.55101 //https://www.rfc-editor.org/rfc/rfc6376#section-3.5 5102 5102 $dkimSignatureHeader = 'DKIM-Signature: v=1;' . 5103 5103 ' d=' . $this->DKIM_domain . ';' .
Note: See TracChangeset
for help on using the changeset viewer.