RESOLVED MOVED 234074
Safari uses og:url meta tag to request a Desktop/Mobile view
https://bugs.webkit.org/show_bug.cgi?id=234074
Summary Safari uses og:url meta tag to request a Desktop/Mobile view
timocov
Reported 2021-12-09 03:26:46 PST
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 => 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).
Attachments
Alexey Proskuryakov
Comment 1 2021-12-13 10:00:46 PST
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't have a way to follow up with you.
timocov
Comment 2 2021-12-13 11:30:44 PST
> I could migrate the report, but then you would have no visibility into it, and Apple wouldn't have a way to follow up with you. If it is possible, then do it please. Sorry for bothering you.
Alexey Proskuryakov
Comment 3 2021-12-13 13:07:48 PST
No problem.
Radar WebKit Bug Importer
Comment 4 2021-12-13 13:08:00 PST
Brent Fulgham
Comment 5 2022-02-10 08:54:13 PST
This was investigated on the Safari side: "This is expected behavior, we look for a canonical URL when doing the manual 'Request Desktop Site' 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?" Resolving as 'Moved' as the behavior is in the Safari client, and is tracked by rdar://problem/86429458. This is behaving as designed.
Note You need to log in before you can comment on or make changes to this bug.