pusher-http-php icon indicating copy to clipboard operation
pusher-http-php copied to clipboard

Wrong uri for RestApi requests in Pusher.php

Open cekaon opened this issue 1 year ago • 0 comments

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

  • [FIXED] Composion of $settings['base_path']
  • [FIXED] Return of channels_url_prefix()
  • [CHANGED] Change from private to protected in validate_socket_id()

cekaon avatar May 24 '24 13:05 cekaon