PHPMailer::isShellSafe

Advertisement

Summery Summery

Fix CVE-2016-10033 and CVE-2016-10045 by disallowing potentially unsafe shell characters.

Syntax Syntax

PHPMailer::isShellSafe( string $string )

Description Description

Note that escapeshellarg and escapeshellcmd are inadequate for our purposes, especially on Windows.

Parameters Parameters

$string

(string) (Required) The string to be validated

Return Return

(boolean)

Source Source

File: wp-includes/class-phpmailer.php


			

Advertisement

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.