Closed spaze closed 4 years ago
The VIES WSDL is loaded over http://: https://github.com/spaze/vat-calculator/blob/07d9d631bddce33f20844cd617d08af42d15252d/src/VatCalculator.php#L20
http://
It should be loaded over HTTPS, because they redirect to HTTPS anyway:
$ curl -i http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl HTTP/1.1 307 Temporary Redirect Location: https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl Cache-Control: no-cache Pragma: no-cache Content-Type: text/html; charset=utf-8 Proxy-Connection: close Connection: close Content-Length: 738 <HTML><HEAD> <TITLE>Redirect</TITLE> [...]
Upstream bug: https://github.com/mpociot/vat-calculator/issues/96
The VIES WSDL is loaded over
http://
: https://github.com/spaze/vat-calculator/blob/07d9d631bddce33f20844cd617d08af42d15252d/src/VatCalculator.php#L20It should be loaded over HTTPS, because they redirect to HTTPS anyway:
Upstream bug: https://github.com/mpociot/vat-calculator/issues/96