<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sutara_lumpur</author_name>
  <author_url>https://blog.hatena.ne.jp/sutara_lumpur/</author_url>
  <blog_title>すたら日記</blog_title>
  <blog_url>https://sutara-lumpur.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>(CakePHP 2.2.1) コントローラ内でリファラを取得します。 $url = $this-&gt;referer();普通なら『http://hoge.jp/controller/view』のようなURLが入るのですが、ロリポップではなぜか『hoge.jp』となり、まったく使い物になりません。 Cakeのソースから原因を探ります。 (lib/Cake/Controller/Controller.php - line:969) public function referer($default = null, $local = false) { if ($this-&gt;request) { $re…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsutara-lumpur.hatenadiary.org%2Fentry%2F20120725%2F1343220843&quot; title=&quot;(CakePHP, ロリポップ) $this-&amp;gt;referer() が正常に動作しない - すたら日記&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>2012-07-25 21:54:03</published>
  <title>(CakePHP, ロリポップ) $this-&gt;referer() が正常に動作しない</title>
  <type>rich</type>
  <url>https://sutara-lumpur.hatenadiary.org/entry/20120725/1343220843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
