View Issue Details

IDProjectCategoryView StatusLast Update
2325Composrcorepublic2016-03-22 22:37
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverity@40@ 
Status resolvedResolutionfixed 
Summary2325: 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.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2016-03-22 22:37

administrator   ~3479

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 PDStig New Issue
2016-03-22 22:37 Chris Graham Note Added: 0003479
2016-03-22 22:37 Chris Graham Status Not Assigned => Resolved
2016-03-22 22:37 Chris Graham Resolution open => fixed
2016-03-22 22:37 Chris Graham Assigned To => Chris Graham