Thanks @solex! I’ll take a look and see what weirdness WP is doing. Haha.
Would you mind letting me know what theme your site is using?
Never mind about the theme, @solex. The problem is with the WP Core.
The post-password form doesn’t contain any information about the post being visited; it’s just the password field. The generic wp-login.php endpoint handling those requests just blindly shoves a hash of the typed password into a cookie, then tries to work backwards to figure out where the user came from by checking the referral header. (This is the bit that None is breaking for you.)
It’s a very curious design.
Unfortunately this isn’t something Apocalypse Meow can really fix, but I did push a small update, adding information about the possible incompatibility to the referrer-policy info box.
If you have the option to mark your posts “private” rather than “password protected”, I would recommend doing that instead. WordPress’ password protection feature is sketchy. Form weirdness aside, post passwords are stored in plain text in the database and the posts themselves are marked “publish” just like public posts, making it really easy for a theme or plugin to accidentally leak their content.
-
This reply was modified 4 years, 11 months ago by
Blobfolio. Reason: Clarify sentence subject
-
This reply was modified 4 years, 11 months ago by
Blobfolio.
Thread Starter
Chris
(@solex)
Great – thanks for the quick response and the feedback 🙂