{"action":"created","issue":{"url":"https://api.github.com/repos/gorilla/mux/issues/145","repository_url":"https://api.github.com/repos/gorilla/mux","labels_url":"https://api.github.com/repos/gorilla/mux/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/gorilla/mux/issues/145/comments","events_url":"https://api.github.com/repos/gorilla/mux/issues/145/events","html_url":"https://github.com/gorilla/mux/issues/145","id":132735043,"number":145,"title":"StrictSlash is confusing","user":{"login":"dobegor","id":14029650,"avatar_url":"https://avatars.githubusercontent.com/u/14029650?v=3","gravatar_id":"","url":"https://api.github.com/users/dobegor","html_url":"https://github.com/dobegor","followers_url":"https://api.github.com/users/dobegor/followers","following_url":"https://api.github.com/users/dobegor/following{/other_user}","gists_url":"https://api.github.com/users/dobegor/gists{/gist_id}","starred_url":"https://api.github.com/users/dobegor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobegor/subscriptions","organizations_url":"https://api.github.com/users/dobegor/orgs","repos_url":"https://api.github.com/users/dobegor/repos","events_url":"https://api.github.com/users/dobegor/events{/privacy}","received_events_url":"https://api.github.com/users/dobegor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-10T15:43:47Z","updated_at":"2016-02-10T15:46:03Z","closed_at":null,"body":"This\r\n\r\n\"When true, if the route path is \"/path/\", accessing \"/path\" will redirect to the former and vice versa. In other words, your application will always see the path as specified in the route.\"\r\n\r\nand\r\n\r\n\"When false, if the route path is \"/path\", accessing \"/path/\" will not match this route and vice versa.\"\r\n\r\nshould be inverted, because strict==true should mean no trailing slash allowed.\r\nIt's name and docs are confusing. "},"comment":{"url":"https://api.github.com/repos/gorilla/mux/issues/comments/182437039","html_url":"https://github.com/gorilla/mux/issues/145#issuecomment-182437039","issue_url":"https://api.github.com/repos/gorilla/mux/issues/145","id":182437039,"user":{"login":"dobegor","id":14029650,"avatar_url":"https://avatars.githubusercontent.com/u/14029650?v=3","gravatar_id":"","url":"https://api.github.com/users/dobegor","html_url":"https://github.com/dobegor","followers_url":"https://api.github.com/users/dobegor/followers","following_url":"https://api.github.com/users/dobegor/following{/other_user}","gists_url":"https://api.github.com/users/dobegor/gists{/gist_id}","starred_url":"https://api.github.com/users/dobegor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobegor/subscriptions","organizations_url":"https://api.github.com/users/dobegor/orgs","repos_url":"https://api.github.com/users/dobegor/repos","events_url":"https://api.github.com/users/dobegor/events{/privacy}","received_events_url":"https://api.github.com/users/dobegor/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T15:46:03Z","updated_at":"2016-02-10T15:46:03Z","body":"There is also another problem with this setting.\r\nIf I define my path like \r\n```\r\nr.Methods(\"POST\").Path(\"/users/\")\r\n```\r\n(note the trailing slash) this setting won't work at all. Either it should be fixed or mentioned in the docs."}}