mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
MFH: fix #41795 (checkdnsrr does not support DNS_TXT type)
patch by lucas at facebook dot com
This commit is contained in:
parent
83e33eac02
commit
58ac8d559d
2 changed files with 3 additions and 0 deletions
2
NEWS
2
NEWS
|
@ -36,6 +36,8 @@ PHP NEWS
|
||||||
- Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory
|
- Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory
|
||||||
already exists). (Pierre)
|
already exists). (Pierre)
|
||||||
|
|
||||||
|
- Fixed bug #41795 (checkdnsrr does not support DNS_TXT type).
|
||||||
|
(lucas at facebook dot com, Tony)
|
||||||
- Fixed bug #41773 (php_strip_whitespace() sends headers with errors
|
- Fixed bug #41773 (php_strip_whitespace() sends headers with errors
|
||||||
suppressed). (Tony)
|
suppressed). (Tony)
|
||||||
- Fixed bug #41765 (Recode crashes/does not work on amd64).
|
- Fixed bug #41765 (Recode crashes/does not work on amd64).
|
||||||
|
|
|
@ -289,6 +289,7 @@ PHP_FUNCTION(dns_check_record)
|
||||||
else if (!strcasecmp("PTR", Z_STRVAL_PP(arg2))) type = DNS_T_PTR;
|
else if (!strcasecmp("PTR", Z_STRVAL_PP(arg2))) type = DNS_T_PTR;
|
||||||
else if (!strcasecmp("ANY", Z_STRVAL_PP(arg2))) type = DNS_T_ANY;
|
else if (!strcasecmp("ANY", Z_STRVAL_PP(arg2))) type = DNS_T_ANY;
|
||||||
else if (!strcasecmp("SOA", Z_STRVAL_PP(arg2))) type = DNS_T_SOA;
|
else if (!strcasecmp("SOA", Z_STRVAL_PP(arg2))) type = DNS_T_SOA;
|
||||||
|
else if (!strcasecmp("TXT", Z_STRVAL_PP(arg2))) type = DNS_T_TXT;
|
||||||
else if (!strcasecmp("CNAME", Z_STRVAL_PP(arg2))) type = DNS_T_CNAME;
|
else if (!strcasecmp("CNAME", Z_STRVAL_PP(arg2))) type = DNS_T_CNAME;
|
||||||
else if (!strcasecmp("AAAA", Z_STRVAL_PP(arg2))) type = DNS_T_AAAA;
|
else if (!strcasecmp("AAAA", Z_STRVAL_PP(arg2))) type = DNS_T_AAAA;
|
||||||
else if (!strcasecmp("SRV", Z_STRVAL_PP(arg2))) type = DNS_T_SRV;
|
else if (!strcasecmp("SRV", Z_STRVAL_PP(arg2))) type = DNS_T_SRV;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue