<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>z0rac</author_name>
  <author_url>https://blog.hatena.ne.jp/z0rac/</author_url>
  <blog_title>z0racの日記</blog_title>
  <blog_url>https://z0rac.hatenadiary.org/</blog_url>
  <categories>
    <anon>ウェブ</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>最近ウェブで遊びだしたプログラマとしては、こっち方面のプログラミングでは何だかなぁという話が多い。 「サニタイズ言うなキャンペーン」私の解釈 この記事は、間違っているわけではないが、「サニタイズ」の問題に対する言及としては足りない。 まず、最初の問題として、ウェブアプリケーションに於ける入力と出力のアンバランスさがある。ウェブアプリケーションの入力は「文字列」で出力は「HTML」なのだ。この問題に対応するために、内部表現を「文字列」に統一し出力時に「HTML」エンコードする、という言及記事の考えは正しい。 しかし、内部表現を「文字列」に統一してしまうと、そのアプリケーションは「文字列」しか扱え…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fz0rac.hatenadiary.org%2Fentry%2F20061129%2F1164798575&quot; title=&quot; 必要なのはサニタイズではなくデコードとエンコード - z0racの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-11-29 20:09:35</published>
  <title> 必要なのはサニタイズではなくデコードとエンコード</title>
  <type>rich</type>
  <url>https://z0rac.hatenadiary.org/entry/20061129/1164798575</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
