Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trimurls causes Pusher exception #61

Closed
vesper8 opened this issue Nov 28, 2017 · 1 comment
Closed

trimurls causes Pusher exception #61

vesper8 opened this issue Nov 28, 2017 · 1 comment

Comments

@vesper8
Copy link

vesper8 commented Nov 28, 2017

When using the TrimUrls middleware (tested on its own with all others disabled)

Connections to Pusher are broken

This error is shown

app.js?id=dkjsdflkjsdf:55485 Pusher : Error : {"type":"WebSocketError","error":{"type":"PusherError","data":{"code":null,"message":"Invalid signature: Expected HMAC SHA256 hex digest of 5601.2191940:presence-chatroom.2:{\"user_id\":205,\"user_
 ...
@joaorobertopb
Copy link
Collaborator

Trimming URLs is considered medium risk. It can cause problems if it uses the wrong base URL.
References ( #60 #53 ).

Do not register: \RenatoMarinho\LaravelPageSpeed\Middleware\TrimUrls::class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants