mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-11 19:20:50 +00:00
Escape mail.force_extra_parameters value
This commit is contained in:
1 parent
ad31680f34
commit
2afcf33fef
1 file changed
+1
-1
+1
-1
@@ -139,7 +139,7 @@ PHP_FUNCTION(mail)
|
||||
}
|
||||
|
||||
if (force_extra_parameters) {
|
||||
extra_cmd = estrdup(force_extra_parameters);
|
||||
extra_cmd = php_escape_shell_cmd(force_extra_parameters);
|
||||
} else if (extra_cmd) {
|
||||
extra_cmd = php_escape_shell_cmd(extra_cmd);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user