Http vs Https concerning generated code

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
olivier
Posts: 5
Joined: 2016-10-21 19:47

Http vs Https concerning generated code

Post by olivier » 2017-10-16 19:14

Hi everyone,
Is the generated code fully compliant with websites being migrated to https (i.e. not hardcoded lines referring to http) ?
I'm not a php expert, so I prefer to ask ...
Thanks a lot,
Olivier

User avatar
pilandros
Veteran Member
Posts: 93
Joined: 2014-02-13 18:19

Re: Http vs Https concerning generated code

Post by pilandros » 2017-10-19 16:48

Yes, the code generated can by either accesed via http and/or https. Since every link handled by AppGini is created as a referral of the same URL/server ie. "../images/.." instead of "http://server/images/.."

Although avoid using specific URL/paths including either "http://" or "https://" in any URL customization you make for your application. Because if you do that (even if only one graphic is loaded via http instead https) you will get a "not safe" URL page or website, since not every file is going through the https protocol.

Post Reply