Skip to content

Open Handler Loaded at any Protocol Case #641

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

Closed
wants to merge 1 commit into from

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
Owner

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