HttpRuntimeSection.RequestPathInvalidCharacters Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a list of characters that are specified as invalid in a path that is part of an HTTP request.
public:
property System::String ^ RequestPathInvalidCharacters { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("requestPathInvalidCharacters", DefaultValue="<,>,*,%,&,:,\,?")]
public string RequestPathInvalidCharacters { get; set; }
[<System.Configuration.ConfigurationProperty("requestPathInvalidCharacters", DefaultValue="<,>,*,%,&,:,\,?")>]
member this.RequestPathInvalidCharacters : string with get, set
Public Property RequestPathInvalidCharacters As String
Property Value
A comma-separated list of invalid characters. The following list contains the default set of invalid characters:
<,>,*,%,&,:,\
- Attributes
Remarks
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).
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru