[wp-meta] [Making WordPress.org] #7359: Profile Website Links Simply Reload Profile When Openned in a new tab in Safari Only

Making WordPress.org noreply at wordpress.org
Tue Dec 5 23:31:34 UTC 2023


#7359: Profile Website Links Simply Reload Profile When Openned in a new tab in
Safari Only
--------------------------+---------------------
 Reporter:  macmanx       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  lowest        |   Milestone:
Component:  Profiles      |  Resolution:
 Keywords:                |
--------------------------+---------------------
Changes (by dd32):

 * priority:  normal => lowest


Comment:

 There's a referer check in the `/website-redirect/` endpoint, requiring
 that the referer be set to `profiles.wordpress.org`, otherwise it
 redirects back to the user profile. That was added IIRC for safety /
 security / SEO purposes (one of them).

 In the case of Safari, it doesn't send a referer when you open-in-new-tab,
 so it can't pass that check.

 https://developer.apple.com/forums/thread/18023

 I've tried adding `Referrer-Policy: unsafe-url` (the most unsafe policy)
 and that didn't help either, so it's just Safari treating open-in-new-tab
 as a full new request rather than one that was referred from the current
 tab.

 Chrome had this issue 10+ years ago too.
 https://bugs.chromium.org/p/chromium/issues/detail?id=1935

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7359#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list