Environment Description:
SharePoint 2007, IIS7, win 2008 server
Problem description:
In the SharePoint document library, when the uploaded attachment name contains a plus sign and the url is used for access in the browser, the system prompts that the file cannot be found, it does not work even if the + sign is converted to url encoding % 2B.
The error message of the accessed page is as follows: HTTP 404 Not Found.
Solution:
It is tested that access to such files is normal in SharePoint2007 and IIS6 environments.
Method 1: modify the configuration file applicationHost. config of IIS7
Method 2:
Using this command will make all sites take effect:
Appcmd set config "Default Web Site"/section: system. webServer/Security/requestFiltering-allowDoubleEscaping: True
Using this command will make the specified site take effect:
Appcmd set config "Default Web Site"/section: system. webServer/Security/requestFiltering-allowDoubleEscaping: True/commit: appHos
After setting, you do not need to restart IIS.
References:
Http://support.microsoft.com/kb/2022903
Http://support.microsoft.com /? Id = 942076
Http://www.powerobjects.com/blog/2010/02/03/sharepoint-hates-plus-signs/