WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#18987 closed defect (bug)

Non-ascii permalink in IIS leads to "Nothing Found" results — at Version 5

Reported by: scdetailer Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: IIS Keywords: has-patch needs-testing
Focuses: Cc:

Description (last modified by SergeyBiryukov)

On IIS 7 installs, there is a known issue in the FastCGI module in how it handles the REQUEST_URI server variable for non-ascii characters.

"IIS team is planning to provide an update for it soon." ... that was 18 months ago.

http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-1707

Please include this workaround in the core's wp-config.php file:

if (isset($_SERVER['UNENCODED_URL']))
$_SERVER['REQUEST_URI'] = $_SERVER['UNENCODED_URL'];

Thank you!

Change History (6)

@SergeyBiryukov4 years ago

comment:1 @SergeyBiryukov4 years ago

  • Keywords has-patch needs-testing added

comment:2 @knutsp4 years ago

  • Cc knut@… added

comment:3 @ruslany4 years ago

There was a patch released for IIS FastCGI module that fixes this. See the details here: http://ruslany.net/2010/03/important-update-for-iis-7-0-fastcgi-module/

comment:4 @scdetailer4 years ago

Thanks. From what I gather, the patch is installed in SP1 so Windows Update takes care of that, and it was on my system already.

What may be worth pointing out to others is the need to manually run the the command listed in the KB article to enable the UTF8 handling so all works properly:

reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO

comment:5 @SergeyBiryukov3 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.