pusher / pusher-http-php

PHP library for interacting with the Pusher Channels HTTP API
https://pusher.com/docs/server_api_guide
1.4k stars 306 forks source link

Wrong uri for RestApi requests in Pusher.php #388

Open cekaon opened 2 months ago

cekaon commented 2 months ago

Description

The URL for pusher requests is badly composed, when URL path is defined in config. The 'base_uri' for Guzzle request is concatenated with config path and therefore, it does not work correctly, becouse 'base_uri' is only for host address. Also, in custom websocket server, there is a need to override the socket id validation to the custom rules, so please set it as protected.

CHANGELOG