ID: 28766 User updated by: bt at weberg dot de Reported By: bt at weberg dot de -Status: Open +Status: Bogus Bug Type: Mail related Operating System: linux, debian PHP Version: Irrelevant New Comment:
It seems not to be a general problem... Previous Comments: ------------------------------------------------------------------------ [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