linkit
linkit copied to clipboard
Custom URL requires http:// prefix or returns an invalid link
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
The validation should catch this, possible bug, will check.
Any chance of implementing the first suggestion of adding the prefix if not specified? Or at least not appending it to the admin url
Any update on this? I have to explain this to every client.
¯/_(ツ)_/¯