Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#31666 closed enhancement (fixed)

Add 'webcal' to protocol whitelist

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

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 10 years ago.
31666.2.diff (888 bytes) - added by MikeHansenMe 10 years ago.

Download all attachments as: .zip

Change History (7)

@boonebgorges
10 years ago

#1 @boonebgorges
10 years ago

  • Keywords has-patch dev-feedback added

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

#2 @DrewAPicture
10 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?

#3 @MikeHansenMe
10 years ago

  • Keywords needs-docs removed

#4 @boonebgorges
10 years ago

  • Milestone changed from Future Release to 4.3

#5 @boonebgorges
10 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.