IIS - the request is rejected by the HTTP filter when the URL has a European char

I am using a web api application that returns valid postal codes for a given city. The application is hosted on WinServer 2008 R2, IIS 6.1.

The application works fine as long as there are no European char (ä, ß, æ, ø, å) in the URL. But with any special / european char in the url, I get the following error message:

Error code: 500 Internal server error. The request was rejected by the HTTP filter. Contact your server administrator. (12217)

eg. for working URL: edu.web / Api / PostCode / Heidenau

eg. for non-working URL: edu.web / Api / PostCode / Heidehäuser

eg. for non-working URL encoded URL: edu.web / Api / PostCode / Heideh% C3% A4user

How to configure IIS to accept European characters?

Thanks.

+6
source share
1 answer

I solved the problem by involving our system administrator. All Internet requests are transmitted through the Microsoft Forefront Threat Management Gateway ( ISA) server , which by default filters all requests with special characters before they reach our web servers.

After we changed the Configuration , everything began to work as intended.

+11
source

Source: https://habr.com/ru/post/949009/


All Articles