View Issue Details

IDProjectCategoryView StatusLast Update
0002325Composrcorepublic2016-03-22 22:37
ReporterPatrick SchmalstigAssigned ToChris Graham 
Severity@40@ 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002325: Composr 10b4: Custom zone domain mapping problems
DescriptionWhen using zone mapping in __config.php , the function that writes the URLs always writes them beginning with http:// , not taking into consideration whether or not the website runs in HTTPS. Attempting to specify https:// in the domain zone URL also results in the URL becoming "http://https//" (stripping the colon).

Adding a specific zone URL also results in an error "path" not defined (using PHP's parse_url function probably returns FALSE, thus no path specified) when a trailing slash is not added at the end.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2016-03-22 22:37

administrator   ~0003479

I have done a full code review for similar https:// issues, and fixed them in
https://github.com/ocproducts/composr/commit/45fae9771e9dd7eaeb6111c8a7a4850aef046aa7

We will assume that custom domains are HTTPS if the base URL is - or if the pages within them are set to HTTPS via the ssl addon.

Issue History

Date Modified Username Field Change
2016-03-21 17:24 Patrick Schmalstig New Issue
2016-03-22 22:37 Chris Graham Note Added: 0003479
2016-03-22 22:37 Chris Graham Status non-assigned => resolved
2016-03-22 22:37 Chris Graham Resolution open => fixed
2016-03-22 22:37 Chris Graham Assigned To => Chris Graham