{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1637","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1637/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1637/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1637/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/1637","id":109110684,"number":1637,"title":"Prevent escaping html in path params?","user":{"login":"chriskessel","id":1497470,"avatar_url":"https://avatars.githubusercontent.com/u/1497470?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskessel","html_url":"https://github.com/chriskessel","followers_url":"https://api.github.com/users/chriskessel/followers","following_url":"https://api.github.com/users/chriskessel/following{/other_user}","gists_url":"https://api.github.com/users/chriskessel/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskessel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskessel/subscriptions","organizations_url":"https://api.github.com/users/chriskessel/orgs","repos_url":"https://api.github.com/users/chriskessel/repos","events_url":"https://api.github.com/users/chriskessel/events{/privacy}","received_events_url":"https://api.github.com/users/chriskessel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T15:01:53Z","updated_at":"2015-10-07T04:36:38Z","closed_at":null,"body":"I'm using swagger via the built in threescale (api service provider) stuff, so I'm not sure which ui version that maps to. I'm telling my code to generate swagger 2.0.\r\n\r\nI've got a REST entry point that takes an \"itemID\" parameter and that ID has forward slash (/) characters in it. It looks something like this: 2015/09/30/14/41/18/681/mfq15U. I've defined the @Path regex to interpret that as one param, not a bunch of little ones.\r\n\r\nThe problem is when I use the Swagger UI and put 2015/09/30/14/41/18/681/mfq15U into the \"itemId\" text box then click \"Try it out!\", it html escapes all the / characters and ends up creating an invalid request that looks like:\r\n\r\n    https:/foobar.com/2015%2F09%2F30%2F14%2F41%2F18%2F681%2Fmfq15U\r\n\r\nWhereas I need it to look like this:\r\n\r\n    https://foobar.com/2015/09/30/14/41/18/681/mfq15U\r\n\r\nIs there some way I can configure swagger UI to not escape those characters?\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/146075117","html_url":"https://github.com/swagger-api/swagger-ui/issues/1637#issuecomment-146075117","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1637","id":146075117,"user":{"login":"fehguy","id":249413,"avatar_url":"https://avatars.githubusercontent.com/u/249413?v=3","gravatar_id":"","url":"https://api.github.com/users/fehguy","html_url":"https://github.com/fehguy","followers_url":"https://api.github.com/users/fehguy/followers","following_url":"https://api.github.com/users/fehguy/following{/other_user}","gists_url":"https://api.github.com/users/fehguy/gists{/gist_id}","starred_url":"https://api.github.com/users/fehguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehguy/subscriptions","organizations_url":"https://api.github.com/users/fehguy/orgs","repos_url":"https://api.github.com/users/fehguy/repos","events_url":"https://api.github.com/users/fehguy/events{/privacy}","received_events_url":"https://api.github.com/users/fehguy/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T04:36:38Z","updated_at":"2015-10-07T04:36:38Z","body":"take a look here:\r\n\r\nhttps://github.com/swagger-api/swagger-js/pull/280\r\n\r\nYou'll have to undo that commit.  It's not a configuration, but we could make it so with a PR if you'd like to tackle it.\r\n"}}