C#


ROSLYN.SECURITY.CA5365 : Do Not Disable HTTP Header Checking (C#)

See Roslyn-Detected C# Warning Classes for more information.

要旨

HTTP header checking enables encoding of the carriage return and newline characters, \r and \n, that are found in response headers. This encoding can help to avoid injection attacks that exploit an application that echoes untrusted data contained by the header.

この指摘はRoslynのCA5365に該当します。ルール詳細につい ては、下記リンクを参照してください。 CA5365

プロパティ

クラス名 Do Not Disable HTTP Header Checking (C#)
日本語クラス名 Do Not Disable HTTP Header Checking (C#)
クラス分類 セキュリティ (security)
ニーモニック ROSLYN.SECURITY.CA5365
カテゴリー なし
対応言語 C# で利用可能です。
有効/無効設定 このワーニングクラスのチェックはデフォルトで有効になっています。チェックを無効にするにはプロジェクト設定ファイル (configuration file)に以下の WARNING_FILTER ルールを追加してください。
WARNING_FILTER += discard class="Do Not Disable HTTP Header Checking (C#)"

関連のある設定ファイルパラメータ

設定ファイルの以下のパラメータがこのワーニングクラスのチェックに影響します。