Choose Your Product
No Product SelectedSelect Product
The WinHTTP API cannot obtain content from a website that contains special characters in Windows 7 or in Windows Server 2008 R2

SYMPTOMS

On a computer that is running Windows 7 or Windows Server 2008 R2, you use the WinHTTP API to try to obtain content from a website. This website contains non-RFC compliant characters. In this situation, the WinHTTP API cannot obtain the website content.

For example, you use the WinHttpSendRequest function or the WinHttpReceiveResponse function to request access to a web resource. This web resource contains a semicolon (;) character in the content. In this case, you may receive an error message that resembles the following: 12152
ERROR_HTTP_INVALID_SERVER_RESPONSE
Note This issue does not occur in other versions of Windows that are earlier than Windows 7 and Windows Server 2008 R2.
Back to the top

CAUSE

This issue occurs because of a design change in the Winhttp.dll module in Windows 7 and in Windows Server 2008 R2. The Webio.dll module and the Winhttp.dll have more strict requirements that do not allow HTTP headers to contain non-RFC compliant characters.
Back to the top

RESOLUTION

Important After you install this hotfix, a new WINHTTP_OPTION_UNSAFE_HEADER_PARSING HTTP flag is introduced. To request access to a web resource, you must call the WinHttpSetOption function to enable this new flag before you call the WinHttpSendRequest function or the WinHttpReceiveResponse () .
Back to the top

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

There are no prerequisites to apply this hotfix.

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 7 and Windows Server 2008 R2 file information notes

Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The MANIFEST files (.manifest) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MANIFEST files and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7

Collapse this table Expand this table

File nameFile versionFile sizeDateTimePlatform
Webio.dll 6.1.7600.20798 313,856 11-Sep-2010 07:22 x86
Winhttp.dll 6.1.7600.20798 349,184 11-Sep-2010 07:22 x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

Collapse this table Expand this table

File nameFile versionFile sizeDateTimePlatform
Webio.dll 6.1.7600.20798 394,752 11-Sep-2010 08:48 x64
Winhttp.dll 6.1.7600.20798 438,784 11-Sep-2010 08:48 x64
Webio.dll 6.1.7600.20798 313,856 11-Sep-2010 07:22 x86
Winhttp.dll 6.1.7600.20798 349,184 11-Sep-2010 07:22 x86
For all supported IA-64-based versions of Windows Server 2008 R2

Collapse this table Expand this table

File nameFile versionFile sizeDateTimePlatform
Webio.dll 6.1.7600.20798 688,128 11-Sep-2010 07:05 IA-64
Winhttp.dll 6.1.7600.20798 802,816 11-Sep-2010 07:05 IA-64
Webio.dll 6.1.7600.20798 313,856 11-Sep-2010 07:22 x86
Winhttp.dll 6.1.7600.20798 349,184 11-Sep-2010 07:22 x86


Back to the top

STATUS

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

MORE INFORMATION

For more information about Windows HTTP services (WinHTTP API), visit the following Microsoft website: Introduction to the Windows HTTP services (http://msdn.microsoft.com/library/aa382925(VS.85).aspx)
For more information about the WinHttpSendRequest function and the WinHttpReceiveResponse function, visit the following Microsoft websites: Introduction to the WinHttpSendRequest function (http://msdn.microsoft.com/library/aa384110(v=VS.85).aspx)

Introduction to the WinHttpReceiveResponse function (http://msdn.microsoft.com/library/aa384105(VS.85).aspx)
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base: 824684 (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

Back to the top

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

Collapse this table Expand this table

File name X86_e764e6b03a2283ab31a0001231a2de88_31bf3856ad364e35_6.1.7600.20798_none_45f54cb5d247a0ec.manifest
File version Not applicable
File size 693
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name X86_eabe8ce0ce4c2b35daf920a4d477698e_31bf3856ad364e35_5.1.7600.20798_none_bad16169e6d5615b.manifest
File version Not applicable
File size 695
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name X86_microsoft-windows-webio_31bf3856ad364e35_6.1.7600.20798_none_5d4263b05929cf22.manifest
File version Not applicable
File size 2,484
Date (UTC) 11-Sep-2010
Time (UTC) 07:50
Platform Not applicable
File name X86_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7600.20798_none_5cf755bc9dce9f7f.manifest
File version Not applicable
File size 50,935
Date (UTC) 11-Sep-2010
Time (UTC) 07:53
Platform Not applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

Collapse this table Expand this table

File name Amd64_1f3c1871db1a209d5f143c399333f454_31bf3856ad364e35_6.1.7600.20798_none_1938bc208f9c350b.manifest
File version Not applicable
File size 697
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name Amd64_72e704d8826b831a9ad62a0336f31139_31bf3856ad364e35_5.1.7600.20798_none_d4a527c3301dcb8e.manifest
File version Not applicable
File size 699
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name Amd64_8de8c8f83d6e0b94fd30f755a0e6533d_31bf3856ad364e35_6.1.7600.20798_none_07cc372fd5075bf1.manifest
File version Not applicable
File size 1,036
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name Amd64_b817331cc5a23c8cf2201ec40740a660_31bf3856ad364e35_6.1.7600.20798_none_a25d4a204182b874.manifest
File version Not applicable
File size 697
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name Amd64_e718a0357a9a19b9434d9c768f6f6c23_31bf3856ad364e35_5.1.7600.20798_none_653230193127ffef.manifest
File version Not applicable
File size 1,040
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name Amd64_microsoft-windows-webio_31bf3856ad364e35_6.1.7600.20798_none_b960ff3411874058.manifest
File version Not applicable
File size 2,488
Date (UTC) 11-Sep-2010
Time (UTC) 09:16
Platform Not applicable
File name Amd64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7600.20798_none_b915f140562c10b5.manifest
File version Not applicable
File size 50,947
Date (UTC) 11-Sep-2010
Time (UTC) 09:19
Platform Not applicable
File name Wow64_microsoft-windows-webio_31bf3856ad364e35_6.1.7600.20798_none_c3b5a98645e80253.manifest
File version Not applicable
File size 2,486
Date (UTC) 11-Sep-2010
Time (UTC) 07:44
Platform Not applicable
File name Wow64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7600.20798_none_c36a9b928a8cd2b0.manifest
File version Not applicable
File size 48,748
Date (UTC) 11-Sep-2010
Time (UTC) 07:45
Platform Not applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2

Collapse this table Expand this table

File name Ia64_4286faae257aad9d50cac0612654bda9_31bf3856ad364e35_5.1.7600.20798_none_7dc78b72dbe41780.manifest
File version Not applicable
File size 1,038
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name Ia64_b817331cc5a23c8cf2201ec40740a660_31bf3856ad364e35_6.1.7600.20798_none_464052928923503a.manifest
File version Not applicable
File size 696
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name Ia64_c9d8291689394f25a916e783159c3d88_31bf3856ad364e35_6.1.7600.20798_none_cac31c29c9f9c578.manifest
File version Not applicable
File size 695
Date (UTC) 14-Sep-2010
Time (UTC) 07:27
Platform Not applicable
File name Ia64_microsoft-windows-webio_31bf3856ad364e35_6.1.7600.20798_none_5d4407a65927d81e.manifest
File version Not applicable
File size 2,486
Date (UTC) 11-Sep-2010
Time (UTC) 08:45
Platform Not applicable
File name Ia64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7600.20798_none_5cf8f9b29dcca87b.manifest
File version Not applicable
File size 50,940
Date (UTC) 11-Sep-2010
Time (UTC) 08:48
Platform Not applicable
File name Wow64_microsoft-windows-webio_31bf3856ad364e35_6.1.7600.20798_none_c3b5a98645e80253.manifest
File version Not applicable
File size 2,486
Date (UTC) 11-Sep-2010
Time (UTC) 07:44
Platform Not applicable
File name Wow64_microsoft.windows.winhttp_31bf3856ad364e35_5.1.7600.20798_none_c36a9b928a8cd2b0.manifest
File version Not applicable
File size 48,748
Date (UTC) 11-Sep-2010
Time (UTC) 07:45
Platform Not applicable


Back to the top

APPLIES TO
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Ultimate
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Foundation
  • Windows Web Server 2008 R2
  • Windows Server 2008 R2 for Itanium-Based Systems


Back to the top



Article ID:
2409615

Last Review:
October 13, 2010 - Revision: 1.0



If you are unable to find what you are looking for, please do try the following options:
1. Lenovo Assisted Search
2. Product usage and general troubleshooting tips
3. Lenovo Support Forum
4. Technical Support Call Centre

Alias ID : 2409615
Document ID : HT070207
Legacy Document ID : 1261110914140844
Last Updated :
Copyright © Lenovo 2013, all rights reserved
Was this page helpful to you?YesNo


   
Select Task
 
Drivers & Software  
Guides & Manuals  
Diagnose & Fix  
Warranty & Services  
Parts  
Accessories  

ADDITIONAL RESOURCES
Support Help Index
Technical Specifications - PSREF
Driver Matrix
Newly Released Drivers (RSS)
Community
Community KnowledgeBase
Community Forums
Lenovo Assisted Search
Windows 8 Support