Method strtolower break case sensitive aliases #31
Description
@weierophinney you was right with breakage. Simple case from Magento 2.3. Host is not always domain or IP address. When we using docker we can call host via container names.
Example:
host = MAGENTO2_varnish
When we call strtolower
then we getting error:
[2019-03-12 11:10:23] main.CRITICAL: Unable to connect to magento2_varnish:80 . Error #0: stream_socket_client(): unable to connect to magento2_varnish:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) {"method":"GET","url":"http:/","invalidateInfo":{"server":"[object] (Zend\\Uri\\Uri: http://magento2_varnish:80/)","tagsPattern":".*"}} []
So MAGENTO2_varnish
!= magento2_varnish
.
If anyone ( like me ) using aliases on magento then this patch break eg. Varnish Purge request.
Originally posted by @bmxmale in #29 (comment)
Activity