404 Error When Accessing Confluence Space or Page via IIS

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

You see a 404 Error Not Found when trying to browse a space or page: "HTTP Error 404.11 - Not Found. The request filtering module is configured to deny a request that contains a double escape sequence."

Cause

By default, IIS7 rejects URLs that contain a double escaping sequence such as '+'. For example, the url http://localhost:8090/display/TT/Test+Test+Startseite will be rejected by IIS7 because it contains a '+' character.

Resolution

Disable the double escape validation in IIS7 by doing the following steps on IIS Manager :

  1. Stop your website.
  2. Select your site and click in Request Filtering.

  3. Then click in Edit Feature Settings:

  4. Check Allow double escaping and hit OK:

  5. Start your site on IIS and check if you can reproduce the error again.

With the question of either leaving the '+' in place or converting those characters to spaces, be aware of the possibility that your rule engine may allow access to a non-Admin. For example, let's say an attacker enters http://myserver/my+vdir, and you have a rule looking for "my vdir". Your authorization rule won't match because your authorization code searches for the string "my+vdir" but your rule says "my vdir". As a result your rule won't apply and the attacker gets access.

 

Last modified on Feb 19, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.