IIS- Ensuring non-ASCII characters are not allowed in URLs

You can set the AllowHighBitCharacters Request filter for a server, a website or an application by using one of these options:

  • IIS Manager GUI
  • AppCmd.exe commands in a command-line window
  • Directly editing the configuration files

To configure the AllowHighBitCharacters Request filter using the IIS Manager GUI:

  1. Open the Internet Information Services(IIS) Manager.
  2. Navigate to the Connection, Site, Application, or the Directory, on the Connections section, you want to configure.
  3. Double-click Request Filtering on the Home section.
  4. Click Edit Feature Settings in the Actions section.
  5. Clear the Allow high-bit characters check box in the General section.