Handling https gracefully

Author Message

Tony Wood

Tuesday 15 March 2005 12:28:00 am

Hi,

Can you please add some handlers for https to eZ. Currently all the notification tpls have <i>http</i> hard coded.

Option 1 - There needs to be a https boolean in the site override and then a check for this in all the tpl's that use http.
i.e.
URLProtocol=SSL
URLProtocol=HTTP

Option 2 - It could well be that you make the site setting a string and store the </i>http</i> or <i>https</i>. This would allow for future protocols in the future.
i.e.
URLProtocol=https
URLProtocol=http
URLProtocol=wsp?
etc

I would prefer Option 2 but either would be nice

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:40:37
Script start
Timing: Jan 31 2025 00:40:37
Module start 'layout'
Timing: Jan 31 2025 00:40:37
Module start 'content'
Timing: Jan 31 2025 00:40:37
Module end 'content'
Timing: Jan 31 2025 00:40:37
Script end

Main resources:

Total runtime0.0191 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 588.1328151.2109
Module start 'layout' 0.00410.0028 739.3438220.6875
Module start 'content' 0.00690.0109 960.0313997.7891
Module end 'content' 0.01780.0012 1,957.820329.9922
Script end 0.0190  1,987.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002311.9885140.0002
Check MTime0.00105.0654140.0001
Mysql Total
Database connection0.00063.357710.0006
Mysqli_queries0.00178.729630.0006
Looping result0.00000.041310.0000
Template Total0.00084.410.0008
Template load0.00073.567910.0007
Template processing0.00020.839410.0002
Override
Cache load0.00052.477010.0005
General
dbfile0.00021.070980.0000
String conversion0.00000.021340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs