HttpRuntimeSection.RequestPathInvalidCharacters プロパティ

定義

HTTP 要求の一部であるパスで無効として指定された文字の一覧を取得または設定します。

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

プロパティ値

無効な文字のコンマ区切りのリスト。 次の一覧には、無効な文字の既定のセットが含まれています。

<,>,*,%,&,:,\

属性

注釈

構成ファイルでこの値を設定するには、requestPathInvalidCharacters要素のhttpRuntime属性にコンマ区切りの文字文字列を割り当てることができます。 詳細については、「 httpRuntime 要素 (ASP.NET 設定スキーマ)」を参照してください。

適用対象