{"action":"closed","issue":{"url":"https://api.github.com/repos/go-swagger/go-swagger/issues/522","repository_url":"https://api.github.com/repos/go-swagger/go-swagger","labels_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/522/comments","events_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/522/events","html_url":"https://github.com/go-swagger/go-swagger/issues/522","id":155519353,"number":522,"title":"escaped slashes in path ids are incorrectly decoded","user":{"login":"franshamk","id":3428426,"avatar_url":"https://avatars.githubusercontent.com/u/3428426?v=3","gravatar_id":"","url":"https://api.github.com/users/franshamk","html_url":"https://github.com/franshamk","followers_url":"https://api.github.com/users/franshamk/followers","following_url":"https://api.github.com/users/franshamk/following{/other_user}","gists_url":"https://api.github.com/users/franshamk/gists{/gist_id}","starred_url":"https://api.github.com/users/franshamk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franshamk/subscriptions","organizations_url":"https://api.github.com/users/franshamk/orgs","repos_url":"https://api.github.com/users/franshamk/repos","events_url":"https://api.github.com/users/franshamk/events{/privacy}","received_events_url":"https://api.github.com/users/franshamk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-swagger/go-swagger/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/go-swagger/go-swagger/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-18T14:42:18Z","updated_at":"2016-05-21T20:49:03Z","closed_at":"2016-05-21T20:49:03Z","body":"## Problem statement\r\n\r\nForward slashes in urlencoded path parameters are treated as route separators. \r\n\r\n- I have a route: /api/{id}\r\n- the id contains a forward slash, so id = \"abc/def\"\r\n- url encode the id, to become id = \"abc%2Fdef\"\r\n- swagger incorrectly gives the error 'path /api/abc/def not found'\r\n\r\nThis is a big issue for us, because we have to ask the consumers of our API to use special encoding logic for their path parameters if they contain a slash. \r\n\r\n## Swagger specification\r\n\r\n2.0\r\n\r\n## Steps to reproduce\r\n\r\n - url encode a parameter with a slash. \r\n - issue curl request: curl 'http://api_host/api/abc%2Fdef'\r\n - observe 'path /api/abc/def not found error'"}}
{"actor":{"display_login":"casualjim"}}