ID: 28766 Updated by: [EMAIL PROTECTED] Reported By: bt at weberg dot de -Status: Closed +Status: Bogus Bug Type: Mail related Operating System: linux, debian PHP Version: Irrelevant New Comment:
Closed is used for real bugs that have been fixed. Previous Comments: ------------------------------------------------------------------------ [2004-06-14 09:03:30] bt at weberg dot de The problem is not related to php... sorry. ------------------------------------------------------------------------ [2004-06-14 08:47:07] bt at weberg dot de It seems not to be a general problem... ------------------------------------------------------------------------ [2004-06-14 08:33:49] bt at weberg dot de Description: ------------ I thought that the addresses passed to sendmail where escaped. It seems not to be. I have a problem with an email-receipient who gave me an address with an "&" in it an I got an error from the local shell-interpreter. The shell could not find the program... Reproduce code: --------------- Create a testscript with something like <?php mail("test&[EMAIL PROTECTED]", "Error, or what?", "..."); ?> Expected result: ---------------- Sending the mail... Actual result: -------------- sh: line 1: [EMAIL PROTECTED]: command not found can't close /usr/sbin/sendmail ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28766&edit=1