APYDataGridBundle icon indicating copy to clipboard operation
APYDataGridBundle copied to clipboard

RowAction on https generate router url with http

Open MarekKarmelski opened this issue 8 years ago • 2 comments

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

MarekKarmelski avatar Jul 20 '17 10:07 MarekKarmelski

@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?

DonCallisto avatar Jul 28 '17 09:07 DonCallisto

@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 :).

MarekKarmelski avatar Jul 29 '17 07:07 MarekKarmelski