Make WordPress Core

Opened 8 years ago

Closed 15 months ago

Last modified 11 months ago

#47170 closed defect (bug) (wontfix)

wp_sensitive_page_meta breaks login on iPad devices

Reported by: madhazelnut Owned by:
Priority: normal Milestone:
Component: Login and Registration Version: 5.0
Severity: major Keywords:
Cc: Focuses:

Description

iPad Safari will throw a

Failed to set referrer policy: The value 'strict-origin-when-cross-origin' is not one of 'no-referrer', 'origin', 'no-referrer-when-downgrade', or 'unsafe-url'. Defaulting to 'no-referrer'.

on wp-login.php page because it does not understand strict-origin-when-cross-origin value for the referer policy.

This effectively breaks the login completely at least on nginx sites.

Present starting with 4.9.10 (5.0.0 if chronologically).

Change History (5)

#1 @SergeyBiryukov
8 years ago

Introduced in [44021].

#2 @madhazelnut
8 years ago

Rectification about the severity: it happens to completely break login when nginx is configured with mod_sec or anything else that blocks access to wp-login.php without a referrer string. Outside those cases it will just throw a browser console error, but the login will continue to function.

#3 @earnjam
7 years ago

Haven't tested to confirm, but may see that error in Edge, IE and iOS Safari based on browser support for that directive: ​https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#Browser_compatibility

#4 @madhazelnut
15 months ago

  • Resolution → wontfix
  • Status new → closed

Looks like Safari in iOS started supporting strict-origin-when-cross-origin right around the time of the report. Closing as no-longer-an-issue.

#5 @swissspidy
11 months ago

  • Milestone Awaiting Review

Removing milestone from closed ticket.

Note: See TracTickets for help on using tickets.