{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/11213","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11213/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11213/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11213/events","html_url":"https://github.com/joomla/joomla-cms/issues/11213","id":166541264,"number":11213,"title":"\"Go to site home page\" and \"Preview\" llinks do not add https","user":{"login":"kenleegit","id":13311908,"avatar_url":"https://avatars.githubusercontent.com/u/13311908?v=3","gravatar_id":"","url":"https://api.github.com/users/kenleegit","html_url":"https://github.com/kenleegit","followers_url":"https://api.github.com/users/kenleegit/followers","following_url":"https://api.github.com/users/kenleegit/following{/other_user}","gists_url":"https://api.github.com/users/kenleegit/gists{/gist_id}","starred_url":"https://api.github.com/users/kenleegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenleegit/subscriptions","organizations_url":"https://api.github.com/users/kenleegit/orgs","repos_url":"https://api.github.com/users/kenleegit/repos","events_url":"https://api.github.com/users/kenleegit/events{/privacy}","received_events_url":"https://api.github.com/users/kenleegit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-20T09:45:04Z","updated_at":"2016-07-21T21:11:00Z","closed_at":null,"body":"#### Steps to reproduce the issue\r\nInstall fresh 3.6.0.\r\nChange apache to listen to higher port e.g. 63000 and configure the virtual host to use SSL.\r\nRestart apache httpd.\r\nI can access front and back ends by https://mysite:63000 and https://mysite:63000/administrator/index.php\r\n\r\n#### Expected result\r\nThe \"Go to site home page\" on administrator login page should link to https://mysite:63000\r\nAfter administrator login, the Preview link at top right corner should link to https://mysite:63000\r\n\r\n\r\n#### Actual result\r\nBoth links are linked to http://mysite:63000 only.\r\n(HTTP, rather than HTTPS)\r\n\r\n#### System information (as much as possible)\r\nApache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16\r\nJoomla! 3.6.0 Stable [ Noether ] 12-July-2016 21:14 GMT\r\nLinux 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64\r\n\r\n#### Additional comments\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/234385236","html_url":"https://github.com/joomla/joomla-cms/issues/11213#issuecomment-234385236","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11213","id":234385236,"user":{"login":"jo-sf","id":8342125,"avatar_url":"https://avatars.githubusercontent.com/u/8342125?v=3","gravatar_id":"","url":"https://api.github.com/users/jo-sf","html_url":"https://github.com/jo-sf","followers_url":"https://api.github.com/users/jo-sf/followers","following_url":"https://api.github.com/users/jo-sf/following{/other_user}","gists_url":"https://api.github.com/users/jo-sf/gists{/gist_id}","starred_url":"https://api.github.com/users/jo-sf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jo-sf/subscriptions","organizations_url":"https://api.github.com/users/jo-sf/orgs","repos_url":"https://api.github.com/users/jo-sf/repos","events_url":"https://api.github.com/users/jo-sf/events{/privacy}","received_events_url":"https://api.github.com/users/jo-sf/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T21:11:00Z","updated_at":"2016-07-21T21:11:00Z","body":"There was a change in 3.6.0 when you try to set \"Force HTTPS\" from None to anything else. The check implemented shall prevent you from locking out of your Joomla installation if you cannot connect to your server using HTTPS. You're right that currently HTTPS is only supported via port 443 but even that shall be changed by means of #8619 (two new fields holding the HTTP and the HTTPS port numbers you use, if empty the defaults - ports 80 and 443 - will be used).\r\n\r\nBut I tink that even before 3.6.0 it was tricky to set \"Force HTTPS\" to e.g. \"Administrator Only\" if you're using non-standard ports. After saving this setting and opening the next backend page Joomla automatically tried (and tries) to switch to HTTPS protocol unless you manually opened the backend via HTTPS. And with any HTTPS port other than 443 that would fail.\r\n\r\nThere was a change in 3.6.0 that causes all links from the backend to the frontend (preview links) to be converted to HTTP if \"Force HTTPS\" is not set to \"Entire Site\". But if you set \"Force HTTPS\" to \"Entire Site\" your preview links from the backend to the frontend should again work, even if you use a non-standard port. Yes I know you currently cannot change this setting via the global configuration since the HTTPS check fails but you might modify the configuration.php file directly (this is not the desired solution but only a workaround until you can configure the HTTP and HTTPS ports to use)."}}
{"actor":{"display_login":"jo-sf"}}