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

RowAction on https generate router url with http #963

Open
MarekKarmelski opened this issue Jul 20, 2017 · 2 comments
Open

RowAction on https generate router url with http #963

MarekKarmelski opened this issue Jul 20, 2017 · 2 comments

Comments

@MarekKarmelski
Copy link
Contributor

When I add RowAction, on site when is enabled ssl, generated link start with http:// not https://

@DonCallisto
Copy link
Member

@MarekKarmelski looking to the code it does not seems to hardcode any http protocol in it.
Could you check by trying to dumping (in your controller for instance) the route you're passing to this action (or grid) generated by symfony router?

@MarekKarmelski
Copy link
Contributor Author

@DonCallisto I checked this case one more time and, APY when create urls use twig function for that, and this function default use http:// protocol. I set default protocol https:// for all project and now APY generate correct links. Second solution to resolve this case is set third parameter in APY templates twig functions path() or url() to true - then links will be created relative. We can close this issue :).

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

No branches or pull requests

2 participants