linkit icon indicating copy to clipboard operation
linkit copied to clipboard

Custom URL requires http:// prefix or returns an invalid link

Open justjoolz opened this issue 8 years ago • 4 comments

Expected behviour is surely not to create links like this if http prefix is not there https://lhaseylotsawa.org/admin/entries/practiceTexts/www.dharmasun.org/tte

when: www.dharmasun.org/tte

is the custom link field contents.

Possible solutions would be to automatically add the prefix (preferably otherwise I'll have to go through the entries by hand to invoke the corrected validation) or not allow it to be saved without.

At the moment I'm adding this to the description of the field which is not ideal.

If linking to an external site please include the full URL ie. http://website.com/ and not simply website.com

justjoolz avatar Jan 09 '17 08:01 justjoolz

The validation should catch this, possible bug, will check.

samhibberd avatar Jan 09 '17 08:01 samhibberd

Any chance of implementing the first suggestion of adding the prefix if not specified? Or at least not appending it to the admin url

justjoolz avatar Jan 21 '17 07:01 justjoolz

Any update on this? I have to explain this to every client.

modelesque avatar Jul 17 '17 23:07 modelesque

¯/_(ツ)_/¯

davidhellmann avatar Nov 06 '17 09:11 davidhellmann