WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#31666 closed enhancement (fixed)

Add 'webcal' to protocol whitelist

Reported by: boonebgorges Owned by: boonebgorges
Milestone: 4.3 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch dev-feedback
Focuses: Cc:
PR Number:

Description

webcal:// URLs are intepreted by browsers to open a calendar app. Currently, users without 'unfiltered_html' have the protocol stripped, which results in broken links in the post editor.

webcal:// is listed as 'provisional' by IANA (as are a number of the other protocols we whitelist). http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml

Any reason not to add it?

Attachments (2)

31666.diff (685 bytes) - added by boonebgorges 5 years ago.
31666.2.diff (888 bytes) - added by MikeHansenMe 5 years ago.

Download all attachments as: .zip

Change History (7)

@boonebgorges
5 years ago

#1 @boonebgorges
5 years ago

  • Keywords has-patch dev-feedback added

Previously: #10914, #2726, #21081, #21604

#2 @DrewAPicture
5 years ago

  • Keywords needs-docs added
  • Milestone changed from Awaiting Review to Future Release

Can we also get an accompanying changelog entry added for the new protocol in the DocBlock for wp_allowed_protocols() please?

@MikeHansenMe
5 years ago

#3 @MikeHansenMe
5 years ago

  • Keywords needs-docs removed

#4 @boonebgorges
5 years ago

  • Milestone changed from Future Release to 4.3

#5 @boonebgorges
5 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 32346:

Add 'webcal' to the list of URI protocols whitelisted by default.

Fixes #31666.

Note: See TracTickets for help on using tickets.