External links don't work without http://

dldege - June 5, 2007 - 16:15
Project:Universal Link Filter
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

[l|www.google.com] does not create the correct link but
[l|http://www.google.com] does

#1

garthee - June 5, 2007 - 16:27

I feel, for external links, protocol must be included.. this is necessary to differentiate filetypes (for example sample.jpg) from external links. http:// will yield http: as the type and it can be used in others catergory to provide protocol dependent rendering like a special rendering for utube videos or other flash players.

hence, i don't think it really is bug, rather a necessity of including protocol, to maintain the consistency with files. (we have to also consider that '.' is allowed in filenames morethan once, so www.sample.jpg is a valid file where as http://www.sample.jpg is not)

i welcome further suggestions

#2

dldege - June 9, 2007 - 00:55

requiring an explicit http:// (or other protocol) is probably fine to avoid any conflicts. Thanks for the clarification.

#3

garthee - June 9, 2007 - 16:10
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.