{"action":"closed","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/6832","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/6832/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/6832/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/6832/events","html_url":"https://github.com/woothemes/woocommerce/issues/6832","id":49958540,"number":6832,"title":"Permalinks and Windows hosting and wc-api","user":{"login":"ChromeOrange","id":130777,"avatar_url":"https://avatars.githubusercontent.com/u/130777?v=3","gravatar_id":"","url":"https://api.github.com/users/ChromeOrange","html_url":"https://github.com/ChromeOrange","followers_url":"https://api.github.com/users/ChromeOrange/followers","following_url":"https://api.github.com/users/ChromeOrange/following{/other_user}","gists_url":"https://api.github.com/users/ChromeOrange/gists{/gist_id}","starred_url":"https://api.github.com/users/ChromeOrange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChromeOrange/subscriptions","organizations_url":"https://api.github.com/users/ChromeOrange/orgs","repos_url":"https://api.github.com/users/ChromeOrange/repos","events_url":"https://api.github.com/users/ChromeOrange/events{/privacy}","received_events_url":"https://api.github.com/users/ChromeOrange/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/woothemes/woocommerce/labels/API","name":"API","color":"02d7e1"},{"url":"https://api.github.com/repos/woothemes/woocommerce/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-24T23:45:17Z","updated_at":"2015-01-05T16:25:15Z","closed_at":"2015-01-05T16:25:15Z","body":">return esc_url_raw( trailingslashit( home_url( '/wc-api/' . $request, $scheme ) ) );\r\n\r\nif permalinks look like\r\n\r\n![](https://dl.dropboxusercontent.com/s/gbgh78e6bqlupjx/2014-11-24%20at%2023.37.png?dl=0)\r\n\r\nthen it doesn't work\r\n\r\nGiven how rare this is maybe a filter is the best way?\r\n\r\n>return esc_url_raw( trailingslashit( home_url( apply_filters(woocommerce_permalinks_windows_fix, '/wc-api/') . $request, $scheme ) ) );"}}