Input validation, encoding, and output sanitisation are often mentioned together, but they solve different problems. Treating them as interchangeable is one of the most common causes of avoidable ...
When developing web applications and systems, security considerations are essential when displaying user-inputted text in a browser. For example, if an input string contains tags such as <script>, ...
HTML Living Standardには、文字エンコーディング宣言について以下の定義がある。 Regardless of whether a character encoding declaration is present or not, the actual character encoding used to encode the document must be UTF-8.
本記事は、Microsoftの本社副社長であり、ASP.NETやSilverlightなどの開発チームを率いるScott Guthrie氏のブログを翻訳したものです。氏の許可を得て転載しています。 これは、VS 2010および.NET 4リリースに向けたブログ投稿シリーズの第19弾です。 本日の投稿では ...
.NET Framework 4.5で新設されたHttpClientクラス(System.Net.Http名前空間)のGetStringAsyncメソッドを使うと、簡単にWebページの内容を文字列として取得できる。しかし、文字コードにシフトJISを使っているWeb ...