#2325 - Composr 10b4: Custom zone domain mapping problems
| Identifier | #2325 |
|---|---|
| Issue type | Trivial issue (does not break functionality) |
| Title | Composr 10b4: Custom zone domain mapping problems |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | core |
| Description | When 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. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
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.