Allowed Protocol Editor

Events happening in the community are now at Drupal community events on www.drupal.org.
Garrett Albright's picture

Okay, how's this for esoteric?

Deep within Drupal's filtering system is a system variable (in the Drupal sense) called "filter_allowed_protocols". This variable is an array of system protocol prefixes ("http", "mailto", "ftp", etc) which are to be considered "safe" for filtering purposes. However, there does not seem to be in core a way of editing this list to add new protocols which you think should be allowed and not filtered - "internal", for instance. So I propose a simple module which would allow you to add new items to this list (or remove them). My proposed name: Allowed Protocol Editor, which gives you a rather fun acronym. Ook ook.

But maybe I haven't searched long enough and a module which does this already exists. Anyone know of one?

Comments

Variable module?

sreynen's picture

I haven't personally tried it, but http://drupal.org/project/variable sounds like it provides an interface to edit any system variable in D7.

There's a module for that

Ooh, nice. I'll add a link to

Garrett Albright's picture

Ooh, nice. I'll add a link to that to my module's documentation once I finally get around to updating it. Thanks.

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week