{"action":"closed","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/12041","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12041/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12041/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12041/events","html_url":"https://github.com/joomla/joomla-cms/issues/12041","id":177096588,"number":12041,"title":"Canonical URL in subdirectory","user":{"login":"thinkerytim","id":122242,"avatar_url":"https://avatars.githubusercontent.com/u/122242?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkerytim","html_url":"https://github.com/thinkerytim","followers_url":"https://api.github.com/users/thinkerytim/followers","following_url":"https://api.github.com/users/thinkerytim/following{/other_user}","gists_url":"https://api.github.com/users/thinkerytim/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkerytim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkerytim/subscriptions","organizations_url":"https://api.github.com/users/thinkerytim/orgs","repos_url":"https://api.github.com/users/thinkerytim/repos","events_url":"https://api.github.com/users/thinkerytim/events{/privacy}","received_events_url":"https://api.github.com/users/thinkerytim/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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-15T06:06:53Z","updated_at":"2016-09-15T15:50:36Z","closed_at":"2016-09-15T15:50:36Z","body":"### Steps to reproduce the issue\r\n\r\n1. Create a site that is accessed from a subdirectory (eg. using joomlabox, `joomla.box/mysite`)\r\n2. configure SEF plugin to use \"http://joomla.box/mysite\" as canonical site domain\r\n\r\n### Expected result\r\nI'd expect to see the canonical URL say something like `<link href=\"https://joomla.box/mysite/index.php/categories/8-testcategory/2-test\" rel=\"canonical\">`\r\n\r\n### Actual result\r\nThe subdomain is repeated, resulting in `<link href=\"https://joomla.box/mysite/mysite/index.php/categories/8-testcategory/2-test\" rel=\"canonical\">`\r\n\r\n### System information (as much as possible)\r\nJoomla 3.6.2 \r\nJoomlabox VM\r\n"}}
{"actor":{"display_login":"brianteeman"}}