The tel protocol is growing in its use on mobile devices. The attached patch adds it to the allowed list of protocols. Thanks goes to erikwebb for helping me locate the source of the stripped attributes.

The RFC for the Telephone protocol is located here: http://www.ietf.org/rfc/rfc2806.txt

Might be time to consider this. A backport of this issue is located here for interested D6 parties: http://drupal.org/node/931304#comment-3590058

Comments

webkenny’s picture

Status: Active » Needs review

Setting to needs review for the bot.

Status: Needs review » Needs work

The last submitted patch, tel-protocol-D7.patch, failed testing.

webkenny’s picture

Status: Needs work » Needs review
StatusFileSize
new919 bytes

My patching skills a little rusty these days apparently. Here's a clean one with the necessary re-roll to keep the array contents alpha sorted. The reason the last patch failed the test was my use of diff to create it. :)

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community
dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

David_Rothstein’s picture

Doesn't this introduce an inconsistency with http://api.drupal.org/api/function/_filter_url/7, which uses the same variable? It seems like that one should be updated too...

(Maybe a separate followup issue; it really seems like this list should be stored in a single helper function rather than a couple different places. That would prevent it from easily getting out of sync like this.)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

David_Rothstein’s picture

A few years later, the followup actually did happen :) #2026269: Different default values for filter_allowed_protocols variable

webkenny’s picture

We really know how to make the words, "Never too late" mean something around here. :) Thanks for the post, David.