Closed (won't fix)
Project:
Link
Version:
7.x-1.0
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2011 at 01:41 UTC
Updated:
4 Feb 2013 at 05:42 UTC
Trying to use an mms:// protocol link, but the Drupal core l(), url() function is prefixing the URL with http://, so it comes out like: http://mms%3A//
Setting the link_options['external'] attribute to TRUE fixes the problem. I'm working on a small patch to add a checkbox that controls this option in the field settings.
Comments
Comment #1
EWB commentederikvip,
Can you please explain where you found and changed the "link_options['external'] attribute"?
thanks
Comment #2
xiukun.zhou commentedThis is mainly because Drupal does not support MMS protocol by default. You would probably need to run the following codes and reset required protocol.
Comment #3
jcfiala commentedxiukun.zhou has it right, erikvip. The correct thing to do is to set the filter_allowed_protocols to include 'mms'. You can do a variable_set, or you can put
in your settings.php file.