#50195 closed enhancement (wontfix)
Default esc_url scheme
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Security | Keywords: | |
Focuses: | Cc: |
Description
Hello,
By default esc_url will add http:// to the schemeless urls, in my opinion it's more secure to generate https links by default if scheme unknown, and let the users to deactive this if needed.
Nicolas,
Change History (4)
This ticket was mentioned in PR #276 on WordPress/wordpress-develop by Rahe.
5 years ago
#1
#2
@
5 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
Thanks for the suggestion, but this isn't workable because if the host being linked to is not configured for HTTPS then the link will not work. If the server supports HTTPS then the HTTP URL usually redirects to it, but the opposite is not true.
Note: See
TracTickets for help on using
tickets.
Default esc_url scheme for unknown scheme
Trac ticket: https://core.trac.wordpress.org/ticket/50195