Ticket #1494 (closed defect (bug): fixed)
Spurious notices about $HTTP_RAW_POST_DATA
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | XML-RPC | Version: | 1.5.1.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
I'm seeing spurious notices from PHP about $HTTP_RAW_POST_DATA not being defined:
PHP Notice: Undefined variable: HTTP_RAW_POST_DATA in /home/mgeisler/mgeisler.net/html/xmlrpc.php on line 4
I guess one could wrap the line in a if(isset($HTTP_RAW_POST_DATA)) and at the same time move the call to logIO("I", $HTTP_RAW_POST_DATA) up in the same wrapping.
Or maybe it would be better to post-pone this processing to class-IXR.php since xmlrpc.php doesn't really use $HTTP_RAW_POST_DATA.
Attachments
Change History
- Keywords has-patch added
- Milestone set to 2.1
The first reference to HTTP_RAW_POST_DATA is already guarded by an isset in trunk.
Patch attached which does the same for the second reference to HTTP_RAW_POST_DATA.
comment:3
markjaquith — 5 years ago
- Status changed from new to closed
- Resolution set to fixed
comment:4
markjaquith — 5 years ago
Note: See
TracTickets for help on using
tickets.

