<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naka_no_mura</author_name>
  <author_url>https://blog.hatena.ne.jp/naka_no_mura/</author_url>
  <blog_title>コードロード</blog_title>
  <blog_url>https://naka-no-mura.hateblo.jp/</blog_url>
  <categories>
    <anon>Laravel</anon>
    <anon>php</anon>
  </categories>
  <description>課題 CookieファサードとPHPのfilter_inputで取得できるcookieの値が異なる。 Laravel外からcookieを使用したいが、暗号化されているため使用できない。 &lt;?php $cookie_key_1 = Cookie::get('cookie_key'); $cookie_key_2 = filter_input(INPUT_COOKIE, 'cookie_key'); 原因 \Illuminate\Cookie\Middleware\EncryptCookies このミドルウェアがあるため。 Laravel内でCookieファサードを使用してcookieを設定すると…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaka-no-mura.hateblo.jp%2Fentry%2F2022%2F08%2F16%2F142923&quot; title=&quot;【Laravel】特定のcookieの値の暗号化を解除（Laravel外からもcookieを使用したい） - コードロード&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-08-16 14:29:23</published>
  <title>【Laravel】特定のcookieの値の暗号化を解除（Laravel外からもcookieを使用したい）</title>
  <type>rich</type>
  <url>https://naka-no-mura.hateblo.jp/entry/2022/08/16/142923</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
