1

Previously, to allow for encoded special characters to be passed as part of a URL in a .net framework service, I've added this to the web.config file within the system.web node:

<httpRuntime requestPathInvalidCharacters="" relaxedUrlToFileSystemMapping="true" />

What is the equivalent for a .net core application?

An example of the test data I need to allow would be 'searchterm%26' which is the encoded output of 'searchterm&'

handalf
  • 73
  • 1
  • 6
  • Does this: https://stackoverflow.com/questions/42819825/allow-colon-in-url-for-asp-net-core-in-iis-azure answers your question? – RelativeLayouter May 13 '22 at 08:41
  • I did see this but I don't think so? "system.web section of your current web.config isn't relevant to ASP.NET Core" – handalf May 13 '22 at 09:03

0 Answers0