Security
- Restrict authenticated requests to the configured API origin and
https://api.mollie.combefore attaching credentials. Untrusted or malformed resource links and pagination URLs now throwMollie\Api\Exceptions\UntrustedUrlException. - Match URL scheme, host, effective port, and user info against a trusted endpoint. Strip URL fragments before sending requests.
- Configure custom API hosts explicitly through
setApiEndpoint(). Tests and fakes that follow absolute URLs must use a trusted endpoint too.
Fix: #954.
Full changelog: v2.80.0...v2.80.1