A update is available that enables certain IIS 7.0 or IIS 7.5 handlers to handle requests whose URLs do not end with a period

INTRODUCTION

This article describes a update that enables certain Internet Information Services (IIS) 7.0 or IIS 7.5 handlers to handle requests whose URLs do not end with a period. Specifically, these handlers are mapped to "*." request paths. Currently, a handler that is mapped to a "*." request path handles only requests whose URLs end with a period. For example, the handler handles only requests whose URLs resemble the following URL:

http://www.example.com/ExampleSite/ExampleFile.

After you apply this update, handlers that are mapped to a "*." request path can handle requests whose URLs end with a period and requests whose URLs do not end with a period. For example, the handler can now handle requests that resemble the following URLs:

http://www.example.com/ExampleSite/ExampleFile

http://www.example.com/ExampleSite/ExampleFile.

After this patch is applied, ASP.NET 4 applications can handle requests for extensionless URLs. Therefore, managed HttpModules that run prior to handler execution will run. In some cases, the HttpModules can return errors for extensionless URLs. For example, an HttpModule that was written to expect only .aspx requests may now return errors when it tries to access the HttpContext.Session property.

You can turn off the extensionless URL functionality for affected ASP.NET applications by adding the following to the application's web.config file:

Prerequisites

To apply this update, you must have IIS 7.0 or IIS 7.5 installed on a computer that is running one of the following operating systems:

Windows Vista Service Pack 2 (SP2)

Windows Server 2008 SP2

Windows 7

Windows Server 2008 R2

Restart requirement

You must restart the computer if IIS is running when you apply this update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

For all supported x86-based versions of Windows Server 2008 and of Windows Vista

File name

File version

File size

Date

Time

Httpapi.dll

6.0.6002.22350

30,720

26-Feb-2010

17:07

x86

Http.sys

6.0.6002.22350

411,648

26-Feb-2010

14:58

x86

Hwebcore.dll

7.0.6002.22350

12,800

26-Feb-2010

17:07

x86

Iiscore.dll

7.0.6002.22350

191,488

26-Feb-2010

17:07

x86

Iisstart.htm

Not Applicable

689

03-Apr-2009

20:49

Not applicable

W3dt.dll

7.0.6002.22350

23,552

26-Feb-2010

17:11

x86

Welcome.png

Not applicable

184,946

03-Apr-2009

20:49

Not applicable

For all supported x64-based versions of Windows Server 2008 and of Windows Vista

File name

File version

File size

Date

Time

Platform

Httpapi.dll

6.0.6002.22350

33,792

26-Feb-2010

21:33

x64

Http.sys

6.0.6002.22350

620,032

26-Feb-2010

15:14

x64

Hwebcore.dll

7.0.6002.22350

15,360

26-Feb-2010

21:33

x64

Iiscore.dll

7.0.6002.22350

296,448

26-Feb-2010

21:33

x64

Iisstart.htm

Not applicable

689

03-Apr-2009

20:41

Not applicable

W3dt.dll

7.0.6002.22350

31,232

26-Feb-2010

21:35

x64

Welcome.png

Not applicable

184,946

03-Apr-2009

20:41

Not applicable

Hwebcore.dll

7.0.6002.22350

12,800

26-Feb-2010

17:07

x86

Iiscore.dll

7.0.6002.22350

191,488

26-Feb-2010

17:07

x86

W3dt.dll

7.0.6002.22350

23,552

26-Feb-2010

17:11

x86

Httpapi.dll

6.0.6002.22350

30,720

26-Feb-2010

17:07

x86

For all supported IA-64-based versions of Windows Server 2008

File name

File version

File size

Date

Time

Platform

Httpapi.dll

6.0.6002.22350

70,656

26-Feb-2010

16:50

IA-64

Http.sys

6.0.6002.22350

1,176,576

26-Feb-2010

15:08

IA-64

Hwebcore.dll

7.0.6002.22350

37,376

26-Feb-2010

16:50

IA-64

Iiscore.dll

7.0.6002.22350

547,328

26-Feb-2010

16:50

IA-64

Iisstart.htm

Not applicable

689

03-Apr-2009

20:42

Not applicable

W3dt.dll

7.0.6002.22350

52,736

26-Feb-2010

16:55

IA-64

Welcome.png

Not applicable

184,946

03-Apr-2009

20:42

Not applicable

Hwebcore.dll

7.0.6002.22350

12,800

26-Feb-2010

17:07

x86

Iiscore.dll

7.0.6002.22350

191,488

26-Feb-2010

17:07

x86

W3dt.dll

7.0.6002.22350

23,552

26-Feb-2010

17:11

x86

Httpapi.dll

6.0.6002.22350

30,720

26-Feb-2010

17:07

x86

For all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Platform

Hwebcore.dll

7.5.7600.20654

12,800

26-Feb-2010

10:08

x86

Iiscore.dll

7.5.7600.20654

198,144

26-Feb-2010

10:08

x86

W3dt.dll

7.5.7600.20654

24,064

26-Feb-2010

10:08

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Hwebcore.dll

7.5.7600.20654

15,360

26-Feb-2010

10:04

x64

Iiscore.dll

7.5.7600.20654

314,368

26-Feb-2010

10:04

x64

W3dt.dll

7.5.7600.20654

31,744

26-Feb-2010

10:04

x64

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Hwebcore.dll

7.5.7600.20654

37,376

26-Feb-2010

08:50

IA-64

Iiscore.dll

7.5.7600.20654

575,488

26-Feb-2010

08:50

IA-64

W3dt.dll

7.5.7600.20654

52,224

26-Feb-2010

08:55

IA-64

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

If you want a handler to run a child request, you can use the EXECUTE_FLAG_IGNORE_CURRENT_INTERCEPTOR flag when you create the handler. This behavior prevents the flag from being invoked again on the child request.

The EXECUTE_FLAG_IGNORE_CURRENT_INTERCEPTOR flag is a request-execution constant that is supported in IIS 7.0 and in IIS 7.5. The flag indicates that the handler for a given request chain should be ignored. For more information about the flag, visit the following Microsoft Developer Network (MSDN) Web site: