Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293129

Different default values for filter_allowed_protocols variable

$
0
0

Hi,

Recently noticed that variable filter_allowed_protocols meets twice in code, but with different default values (see drupal_strip_dangerous_protocols() and _filter_url()). In the second function missing tel protocol.

I think that this protocol should be supported. Moreover, sequence of tags in default value should be the same. So I attached a patch that solves this issue.

AttachmentSizeStatusTest resultOperations
drupal-different-default-values-for-filter_allowed_protocols-variable.patch835 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 40,387 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 293129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>