<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ajiyoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/ajiyoshi/</author_url>
  <blog_title>＊「ふっかつのじゅもんがちがいます。」withぬこ</blog_title>
  <blog_url>https://ajiyoshi.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>[追記]XSSの元とは言えないかもしれません。コメント欄のNagiseさんのコメントも参照のこと[/追記]オブジェクト指向を利用してエスケープを行う 一例としては、getterに細工をして、通常のgetterは常にエスケープした文字を返すようにしておきます。僕の感性では、それこそ一人で開発するならいいけれど、そうでないならば機能しないやり方に思えます。人間を信用しすぎ。 getterがエスケープされた文字列を返すのかそうでないのか、誰がどうやって判断すればいいんでしょうか。ドキュメントとコードに食い違いがあったら？誰か歴代のメンテナンス担当者のうち一人の間抜けがいい加減な単体テストとおかしなエ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajiyoshi.hatenadiary.org%2Fentry%2F20080321%2Fp1&quot; title=&quot; そのやり方はXSSの元としか思えない。 - ＊「ふっかつのじゅもんがちがいます。」withぬこ&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>2008-03-21 00:00:00</published>
  <title> そのやり方はXSSの元としか思えない。</title>
  <type>rich</type>
  <url>https://ajiyoshi.hatenadiary.org/entry/20080321/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
