<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 勤快的懒虫</title>
    <description>The latest articles on DEV Community by 勤快的懒虫 (@_dec2959220223f39ff8).</description>
    <link>https://dev.to/_dec2959220223f39ff8</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4244647%2F881b9103-6c6a-4245-9189-695b40429cf2.png</url>
      <title>DEV Community: 勤快的懒虫</title>
      <link>https://dev.to/_dec2959220223f39ff8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_dec2959220223f39ff8"/>
    <language>en</language>
    <item>
      <title>How to test whether a QR destination works without a session</title>
      <dc:creator>勤快的懒虫</dc:creator>
      <pubDate>Tue, 24 Nov 2026 09:14:04 +0000</pubDate>
      <link>https://dev.to/_dec2959220223f39ff8/how-to-test-whether-a-qr-destination-works-without-a-session-28ef</link>
      <guid>https://dev.to/_dec2959220223f39ff8/how-to-test-whether-a-qr-destination-works-without-a-session-28ef</guid>
      <description>&lt;p&gt;A QR code can decode correctly and still send a new visitor to a login page. Test the destination independently of the device that created the code.&lt;/p&gt;

&lt;p&gt;Open the exact URL encoded in the QR code in a fresh browser profile or a private window. Follow any redirects and check the final hostname and page. If the visible result depends on JavaScript, load the page in a browser and check the actual content. An HTTP 200 is useful evidence, but a sign-in page can also return 200.&lt;/p&gt;

&lt;p&gt;For a repeatable command-line check, use curl -sS -L -o /dev/null -w '%{http_code} %{url_effective}\n' '&lt;a href="https://example.com/menu" rel="noopener noreferrer"&gt;https://example.com/menu&lt;/a&gt;'. Replace the sample address with your URL. This tells you the status and effective URL after HTTP redirects. It does not establish that a browser visitor can see the intended content.&lt;/p&gt;

&lt;p&gt;Then scan a printed proof with a phone that isn't signed into your admin account. Use cellular data and compare the resulting page with what you saw in the fresh browser. These checks catch different failures: the address can work while the printed symbol does not, and the printed symbol can scan while the page is private.&lt;/p&gt;

&lt;p&gt;AI assistance: This article was drafted with AI assistance. Product disclosure: This article links to QRCodeAlchemy, the QR generator associated with this publication: &lt;a href="https://qrcodealchemy.com/" rel="noopener noreferrer"&gt;QRCodeAlchemy&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>cli</category>
      <category>debugging</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
