Make WordPress Core

Opened 13 years ago

Closed 12 years ago

#18987 closed defect (bug) (worksforme)

Non-ascii permalink in IIS leads to "Nothing Found" results

Reported by: scdetailer's profile 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!

Attachments (1)

18987.patch (730 bytes) - added by SergeyBiryukov 13 years ago.

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
13 years ago

  • Keywords has-patch needs-testing added

#2 @knutsp
13 years ago

  • Cc knut@… added

#3 @ruslany
13 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/

#4 @scdetailer
13 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

#5 @SergeyBiryukov
12 years ago

  • Description modified (diff)

#6 @nacin
12 years ago

  • Component changed from Permalinks to IIS
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.