Attached is a tiny patch for flexinode/contrib/field_url.inc. It simply adds a check that the URL doesn't already begin with http:// before it prepends the http:// protocol.

CommentFileSizeAuthor
field_url_patch.txt794 bytesmleicester

Comments

Bèr Kessels’s picture

And what about https:// and ftp:// or even the less often protocols like feed:// or fish:// ? PLease mke this more general.

-1 on the implementation as it is now, +1 on the idea, though.

urbanlegend’s picture

Component: Code » flexinode.module (core)
Issue summary: View changes
Status: Needs review » Closed (outdated)

Given that this issue has not been updated in 11 years or more, I am closing this ticket as outdated (no longer needed and/or relevant). However, if anyone feels this represents an issue that is still being encountered in the current version of Drupal, please reopen and/or provide additional comments.