//: # (Thanks for opening this pull request! Before you proceed please make sure that you have an issue that explains what this pull request will do.
Make sure that all your commits link to this issue e.g. "My commit. (bunq/sdk_php#)".
If this pull request is changing files that are located in "src/Model/Generated" then this pull request will be closed as these files must/can only be changed on bunq's side.)
This PR closes/fixes the following issues:
When you get a response from bunq with improperly formatted headers, the code breaks because you are passing a string to vsprintf. I got the error with the header Access-control-allow-origin. I'm suprised no one ever spotted this until now. Or you never communicated improperly formatted headers until now, and the error never surfaced.
apply proper string replacement function
//: # (Thanks for opening this pull request! Before you proceed please make sure that you have an issue that explains what this pull request will do. Make sure that all your commits link to this issue e.g. "My commit. (bunq/sdk_php#)".
If this pull request is changing files that are located in "src/Model/Generated" then this pull request will be closed as these files must/can only be changed on bunq's side.)
This PR closes/fixes the following issues:
Access-control-allow-origin
. I'm suprised no one ever spotted this until now. Or you never communicated improperly formatted headers until now, and the error never surfaced.