Index: link.module
===================================================================
--- link.module	(revision 1871)
+++ link.module	(working copy)
@@ -72,6 +72,13 @@
     '#return_value' => 'optional',
     '#description' => t('If checked, the URL field is optional and submitting a title alone will be acceptable. If the URL is omitted, the title will be displayed as plain text.'),
   );
+  $form['url_validation'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Require valid URL'),
+    '#default_value' => isset($instance['settings']['url_validation']) ? $instance['settings']['url_validation'] : TRUE,
+    '#description' => t('If checked, the URL field will be validated (against a fixed list of domain endings such as .com, .net, .mobi, etc).  URLs which do not validate will not be allowed.'),
+    '#weight' => -1,
+  );
 
   $title_options = array(
     'optional' => t('Optional Title'),
@@ -302,7 +309,7 @@
                         && $item['url'] === $instance['default_value'][$delta]['url']
                         && !$instance['required'])) {
     // Validate the link.
-    if (link_validate_url(trim($item['url'])) == FALSE) {
+    if (!empty($instance['settings']['url_validation']) && link_validate_url(trim($item['url'])) == FALSE) {
       form_set_error($field['field_name'] .']['. $delta .'][url', t('Not a valid URL.'));
     }
     // Require a title for the link if necessary.
