postcode-nl / PostcodeNl_Api_Magento2

A Magento 2 plugin that implements the Postcode.nl international address API
https://developer.postcode.eu/documentation/
BSD 2-Clause "Simplified" License
10 stars 13 forks source link

User-Agent may not contain (unescaped) backslashes #14

Closed SjonHortensius closed 4 years ago

SjonHortensius commented 4 years ago

Defining the UA like this results in garbled data on the server-side, please use str_replace('\\', '_', static::class) instead

https://github.com/postcode-nl/PostcodeNl_Api_Magento2/blob/8762048eb134867a0204ae8699535bcc4bd78b52/Helper/PostcodeApiClient.php#L51