<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>234074</bug_id>
          
          <creation_ts>2021-12-09 03:26:46 -0800</creation_ts>
          <short_desc>Safari uses og:url meta tag to request a Desktop/Mobile view</short_desc>
          <delta_ts>2022-02-10 08:54:13 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Safari 15</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>timocov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1822054</commentid>
    <comment_count>0</comment_count>
    <who name="">timocov</who>
    <bug_when>2021-12-09 03:26:46 -0800</bug_when>
    <thetext>1. Open https://docusaurus-i18n-staging.netlify.app/ in mobile Safari (I used both iPhone and iPad Mini 5, iOS 15.1 and iPadOS 15.2 (currently in beta))
2. Click on AA button and request Desktop Website

=&gt; Safari opens https://docusaurus.io/ after that.

Also see https://github.com/facebook/docusaurus/issues/6074 for more information if needed.

It seems that Safari uses og:url meta tag to open a different page in case for some reason, what looks a bit strange and confusing (for example, why refreshing the page behaves differently).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823586</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-12-13 10:00:46 -0800</bug_when>
    <thetext>Thank you for the report! This is something that Safari does, could you please re-file this via https://feedbackassistant.apple.com for Apple to take a look?

Alternatively, I could migrate the report, but then you would have no visibility into it, and Apple wouldn&apos;t have a way to follow up with you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823662</commentid>
    <comment_count>2</comment_count>
    <who name="">timocov</who>
    <bug_when>2021-12-13 11:30:44 -0800</bug_when>
    <thetext>&gt; I could migrate the report, but then you would have no visibility into it, and Apple wouldn&apos;t have a way to follow up with you.

If it is possible, then do it please. Sorry for bothering you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823705</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-12-13 13:07:48 -0800</bug_when>
    <thetext>No problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823706</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-13 13:08:00 -0800</bug_when>
    <thetext>&lt;rdar://problem/86429458&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839694</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-02-10 08:54:13 -0800</bug_when>
    <thetext>This was investigated on the Safari side:

&quot;This is expected behavior, we look for a canonical URL when doing the manual &apos;Request Desktop Site&apos; feature since if the page is m.example.com and has a canonical URL to example.com we want to load the desktop version. We load that URL if found (otherwise reload) and change the user agent.

This site has a different domain for the canonical URL, maybe that is incorrect on the site’s part?&quot;

Resolving as &apos;Moved&apos; as the behavior is in the Safari client, and is tracked by rdar://problem/86429458.

This is behaving as designed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>