{"action":"created","issue":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/2271","repository_url":"https://api.github.com/repos/NancyFx/Nancy","labels_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2271/labels{/name}","comments_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2271/comments","events_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2271/events","html_url":"https://github.com/NancyFx/Nancy/issues/2271","id":132675420,"number":2271,"title":"Possible backslash issue in routing","user":{"login":"ProfessionalNihilist","id":646896,"avatar_url":"https://avatars.githubusercontent.com/u/646896?v=3","gravatar_id":"","url":"https://api.github.com/users/ProfessionalNihilist","html_url":"https://github.com/ProfessionalNihilist","followers_url":"https://api.github.com/users/ProfessionalNihilist/followers","following_url":"https://api.github.com/users/ProfessionalNihilist/following{/other_user}","gists_url":"https://api.github.com/users/ProfessionalNihilist/gists{/gist_id}","starred_url":"https://api.github.com/users/ProfessionalNihilist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProfessionalNihilist/subscriptions","organizations_url":"https://api.github.com/users/ProfessionalNihilist/orgs","repos_url":"https://api.github.com/users/ProfessionalNihilist/repos","events_url":"https://api.github.com/users/ProfessionalNihilist/events{/privacy}","received_events_url":"https://api.github.com/users/ProfessionalNihilist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-10T11:39:09Z","updated_at":"2016-02-10T11:58:13Z","closed_at":null,"body":"Hello,\r\n\r\nI have a couple of routes where the one of the fragments may contain encoded backslashes like `245%3BCB24%5C%5C%206Xl%3B1` but this returns a 404 response. If I change one of routes where the fragment I expect this to be in is the final one to be greedy then the value is decoded as `245;CB24/ 6Xl;1` instead of the expected `245;CB24\\\\ 6Xl;1`.\r\n\r\nAm I misunderstanding how the url values are decoded or is this a bug?\r\n\r\nI'm using Nancy 1.3 if that matters.\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/comments/182334505","html_url":"https://github.com/NancyFx/Nancy/issues/2271#issuecomment-182334505","issue_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2271","id":182334505,"user":{"login":"khellang","id":582487,"avatar_url":"https://avatars.githubusercontent.com/u/582487?v=3","gravatar_id":"","url":"https://api.github.com/users/khellang","html_url":"https://github.com/khellang","followers_url":"https://api.github.com/users/khellang/followers","following_url":"https://api.github.com/users/khellang/following{/other_user}","gists_url":"https://api.github.com/users/khellang/gists{/gist_id}","starred_url":"https://api.github.com/users/khellang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khellang/subscriptions","organizations_url":"https://api.github.com/users/khellang/orgs","repos_url":"https://api.github.com/users/khellang/repos","events_url":"https://api.github.com/users/khellang/events{/privacy}","received_events_url":"https://api.github.com/users/khellang/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T11:58:13Z","updated_at":"2016-02-10T11:58:13Z","body":"Yeah... We can't do anything about OWIN. The OWIN spec ([5.5. Percent-encoding](http://owin.org/html/spec/owin-1.0.html#5-5-percent-encoding)) states that \r\n\r\n> Most web server implementations will perform percent-decoding on paths in order to perform request routing (as they rightly may, see: RFC 2616 section 5.1.2, also 3.2.3), and OWIN follows this precedent.\r\n\r\nThis means that by the time Nancy receives the path, it's already been decoded, and the data is lost :disappointed: "}}