php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #78917 addiotonal paramters is singular
Submitted: 2019-12-05 21:36 UTC Modified: 2019-12-15 04:22 UTC
From: phpnet at revmaps dot no-ip dot ord Assigned:
Status: No Feedback Package: *Mail Related
PHP Version: 7.4.0 OS: *nix
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: phpnet at revmaps dot no-ip dot ord
New email:
PHP Version: OS:

 

 [2019-12-05 21:36 UTC] phpnet at revmaps dot no-ip dot ord
Description:
------------
Please upgrade the 'additional_paramters' to allow plural paramters again (I used to be able to use spaces before that wordpress bug made everyone panic)

Maybe change it to mixes to mixed to allow an array of parameters  so that more than one additional parameter can be used, because as it stands escapeshellarg clumps evertthing passed here into a single parameter.


Test script:
---------------
# I would like to be able do do something like this:
mail('test@example.com','test@example.com','test','',array('-f','otherguy@example.com','-odq'));


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-05 21:45 UTC] girgias@php.net
-Status: Open +Status: Feedback
 [2019-12-05 21:45 UTC] girgias@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


 [2019-12-15 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Oct 21 19:01:23 2020 UTC