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

url_for in templates/main.html causes blocked loading mixed active content error #640

Closed
kimgiftww opened this issue Dec 6, 2022 · 2 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on
Milestone

Comments

@kimgiftww
Copy link
Contributor

The url_for in this template

https://github.com/justpy-org/justpy/blob/48c3e857461ebeeea05ac65ebe7f72ff49ae63af/justpy/templates/main.html

resulted in this blocked loading mixed active content error

https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content#warnings_in_firefox_web_console

which was caused by

encode/starlette-example#6

but seemed to be fixed in

encode/uvicorn#369

However, this is still not resolved in JustPy which make an advanced component like this one

https://justpy.io/tutorial/advanced_components/#fullcalendar-example

unable to be deployed in public server.

Is there a way to make url_for return an https instead of http?

@WolfgangFahl WolfgangFahl added the bug Something isn't working label Dec 13, 2022
@WolfgangFahl WolfgangFahl added this to the 0.12 milestone Dec 13, 2022
@WolfgangFahl
Copy link
Collaborator

Could you please make a unit test for this to show what the problem exactly is and why we need to fix it in justpy and not upstream?

@WolfgangFahl WolfgangFahl added the wontfix This will not be worked on label Sep 20, 2023
@WolfgangFahl
Copy link
Collaborator

see #685

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants