Skip to content

Open Handler Loaded at any Protocol Case#641

Closed
adamyi wants to merge 1 commit intofruitcake:masterfrom
adamyi:master
Closed

Open Handler Loaded at any Protocol Case#641
adamyi wants to merge 1 commit intofruitcake:masterfrom
adamyi:master

Conversation

@adamyi
Copy link

@adamyi adamyi commented May 31, 2017

Similar to #557 , currently if laravel is running in HTTP protocol behind a HTTPS reserve proxy, it will generate route of open handlers as HTTP. However, many browsers disallow this mixed content for security concerns. So, remove protocol prefix at the open handler, it will manage to load those to deal with AJAX requests.

@barryvdh
Copy link
Member

Should be fixed with correctly setting the trusted headers

@aik099
Copy link
Contributor

aik099 commented Aug 17, 2017

Alternatively you can replace http:// and https:// with just //.

I wonder if there any way to build URL to the route without protocol at all from Laravel?

@barryvdh barryvdh closed this Dec 24, 2017
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

Successfully merging this pull request may close these issues.

3 participants