Opened 10 years ago
Closed 9 years ago
#31056 closed enhancement (fixed)
The wp-saving-post cookie should have the secure flag set when appropriate
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | low |
Severity: | minor | Version: | |
Component: | Security | Keywords: | has-patch |
Focuses: | javascript | Cc: |
Description
Follow-up to #28427.
The wp-saving-post
cookie should have the secure
flag set to true when home
and siteurl
both use HTTPS. This is far from critical, but this issue can get flagged up by automated penetration testing.
Attachments (1)
Change History (6)
#3
@
9 years ago
- Keywords has-patch added; needs-patch removed
31056.patch addresses the secure
flag when this cookie is set both server-side and client-side.
To test, you can trigger the local autosave in your browser console with this:
jQuery( 'form#post' ).trigger( 'submit.autosave-local' )
Note: See
TracTickets for help on using
tickets.
I think when the admin is forced SSL, that should be enough to force it here, right?