#2959·Nancy

Urls containing %5C (back slash) come through as a forward slash in in Nancy 2.0 ClintEastwood self hosting

Author: dm21ukCreated Apr 2, 2019Updated Mar 11, 2020

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of Nancy
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

When I have a url along the lines of http://localhost:8081/path/My%5CString the Nancy Request URL ends up being http://localhost:8081/path/My/String instead of http://localhost:8081/path/My\String or the unescaped path.

System Configuration

Windows 7, .Net 4.5.2, VS2017 running URL requests through Chrome and Postman.