Bug #79944 [Com]: getmxrr always returns true on Alpine linux
| From: | ekin@php.net | Date: | Sat, 08 Aug 2020 14:06:38 +0000 |
| Subject: | Bug #79944 [Com]: getmxrr always returns true on Alpine linux | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-228457@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79944&edit=1
ID: 79944
Comment by: ekin@php.net
Reported by: ekin@php.net
Summary: getmxrr always returns true on Alpine linux
Status: Open
Type: Bug
Package: *Network Functions
Operating System: Alpine 3.11
PHP Version: 7.4.9
Block user comment: N
Private report: N
New Comment:
Linked PR is irrelevant to this bug report and can be ignored.
Previous Comments:
------------------------------------------------------------------------
[2020-08-07 23:29:35] ekin@php.net
Description:
------------
getmxrr() always returns true on alpine linux.
Recently the following bug was fixed https://bugs.php.net/bug.php?id=78008 thanks to
this PR: https://github.com/php/php-src/pull/5854 and it
was merged into the 7.4.9 release.
Our A, CNAME and MX record tests were failing before we upgraded to 7.4.9 today and now A and CNAME
tests do pass correctly (they use checkdnsrr()), however MX test doesn't.
Test script:
---------------
var_dump(getmxrr('meta.stackoverflow.com', $hosts));
Expected result:
----------------
bool(false)
Actual result:
--------------
bool(true)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79944&edit=1