note 107571 added to function.mail
| From: | php at richardneill dot org | Date: | Sat, 18 Feb 2012 05:50:54 +0000 |
| Subject: | note 107571 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186205@lists.php.net to get a copy of this message | ||
I discovered some mysterious headers being added to the email, which leak private information. These
are:
HTTP-Posting-Client: THE_USERS_IP_ADDRESS
HTTP-Posting-URI: MY_WEBSITE:80/PATH/TO/FILE.php
HTTP-Posting-User-Agent: THE_USER_AGENT
These are NOT part of the official PHP, but are a patch added by the Mandriva/Mageia distributions.
I mention it here because it is not documented anywhere else. For more, see https://bugs.php.net/bug.php?id=61131
----
Server IP: 69.147.83.197
Probable Submitter: 87.194.171.29
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- https://master.php.net/note/edit/107571
Del: integrated -- https://master.php.net/note/delete/107571/integrated
Del: useless -- https://master.php.net/note/delete/107571/useless
Del: bad code -- https://master.php.net/note/delete/107571/bad+code
Del: spam -- https://master.php.net/note/delete/107571/spam
Del: non-english -- https://master.php.net/note/delete/107571/non-english
Del: in docs -- https://master.php.net/note/delete/107571/in+docs
Del: other reasons-- https://master.php.net/note/delete/107571
Reject -- https://master.php.net/note/reject/107571
Search -- https://master.php.net/manage/user-notes.php