Page 1 of 1

Http vs Https concerning generated code

Posted: 2017-10-16 19:14
by olivier
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

Re: Http vs Https concerning generated code

Posted: 2017-10-19 16:48
by pilandros
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.