This documentation is archived and is not being maintained.
HttpRuntimeSection::RequestPathInvalidCharacters Property
Visual Studio 2010
Gets or sets a list of characters that are specified as invalid in a path that is part of an HTTP request.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute(L"requestPathInvalidCharacters", DefaultValue = L"<,>,*,%,&,:,\,?")] public: property String^ RequestPathInvalidCharacters { String^ get (); void set (String^ value); }
Property Value
Type: System::StringA comma-separated list of invalid characters. The following list contains the default set of invalid characters:
<,>,*,%,&,:,\\
To set this value in a configuration file, you can assign a comma-separated string of characters to the requestPathInvalidCharacters attribute of the httpRuntime element. For more information, see httpRuntime Element (ASP.NET Settings Schema).
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: