--- links_weblink.module	2008-03-10 15:33:29.000000000 -0700
+++ links_weblink_maxlength.module	2008-03-10 15:33:09.000000000 -0700
@@ -363,6 +363,7 @@ function links_weblink_form(&$node, &$pa
 
   $form['links_weblink_url'] = array(
     '#type' => 'textfield',
+	'#maxlength' => 512,
     '#title' => t('Link URL'),
     '#default_value' => $links_weblink[0]['url'],
     '#required' => TRUE,
