Sunday, February 18, 2018

Use of contain non-ASCII characters like à, è, ù in an IIS URL

Allow High Bit Characters in IIS

This feature either allows or rejects all requests to IIS that contain non-ASCII characters. The UrlScan equivalent is AllowHighBitCharacters.
There are two approaches to achieve this 
Suppose you want to allow high bit characters for entire server. Then follow below steps: 
1. Click on Request filtering 
2. Then go to Edit feature settings 
3. Tick the allow high-bit characters 
Suppose you want to allow high bit characters for one application but not for the entire server.
Set the allowHighBitCharacters="false" in the ApplicationHost.config file; but within the application root, create a Web.config file that allows that single application to accept non-ASCII characters. In the Web.config file, use:
<configuration> <system.webServer> <security> <requestFiltering allowHighBitCharacters="true" > </requestFiltering> </security> </system.webServer> </configuration>

2 comments:

Ajith said...

Great post!
Thanks for Sharing this article!
It was very useful!!

Blogger said...

Your Affiliate Profit Machine is waiting -

Plus, getting it running is as simple as 1...2...3!

This is how it all works...

STEP 1. Choose affiliate products the system will promote
STEP 2. Add some PUSH BUTTON traffic (it LITERALLY takes JUST 2 minutes)
STEP 3. See how the affiliate system grow your list and sell your affiliate products for you!

Do you want to start making money?

Your MONEY MAKING affiliate solution is RIGHT HERE