<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mihael2</author_name>
  <author_url>https://blog.hatena.ne.jp/mihael2/</author_url>
  <blog_title>今か無しか-2006-</blog_title>
  <blog_url>https://mihael2.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>rails</anon>
  </categories>
  <description>url_forの引数に&quot;:anchor =&gt; 'xxxx'&quot;とやれば、urlの末尾に&quot;#xxx&quot;とアンカーが付与されます。 redirect_toでは、内部的にurl_forを呼び出してリダイレクト先のURLを生成しています。ですから、上と同じ方法でアンカーを付与させる事が出来ます。 しかし、リダイレクトすると、ブラウザがアンカーを削除してしまいます。 ログを見る限り、railsの範囲内では、:anchorシンボルは正常に機能しているので、ブラウザの問題だと思います（多分）。 これ原因がわかりませんが、以前セキュリティ上の問題だと聞いた気があるようなないような。 仕方が無いので、ロードし終わっ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmihael2.hatenadiary.org%2Fentry%2F20060712%2F1152682613&quot; title=&quot;redirectするとanchorが削除される。 - 今か無しか-2006-&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-07-12 14:36:53</published>
  <title>redirectするとanchorが削除される。</title>
  <type>rich</type>
  <url>https://mihael2.hatenadiary.org/entry/20060712/1152682613</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
