diff --git a/modules/path/path.admin.inc b/modules/path/path.admin.inc index e5966b3dade14ca1ffd75590e3a24a63fb4de171..bee4b840b650cb657d83be9a2b8df51d763dc979 100644 --- a/modules/path/path.admin.inc +++ b/modules/path/path.admin.inc @@ -92,7 +92,7 @@ function path_admin_form(&$form_state, $edit = array('src' => '', 'dst' => '', ' '#type' => 'textfield', '#title' => t('Existing system path'), '#default_value' => $edit['src'], - '#maxlength' => 64, + '#maxlength' => 128, '#size' => 45, '#description' => t('Specify the existing path you wish to alias. For example: node/28, forum/1, taxonomy/term/1+2.'), '#field_prefix' => url(NULL, array('absolute' => TRUE)) . (variable_get('clean_url', 0) ? '' : '?q='), @@ -102,7 +102,7 @@ function path_admin_form(&$form_state, $edit = array('src' => '', 'dst' => '', ' '#type' => 'textfield', '#title' => t('Path alias'), '#default_value' => $edit['dst'], - '#maxlength' => 64, + '#maxlength' => 128, '#size' => 45, '#description' => t('Specify an alternative path by which this data can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'), '#field_prefix' => url(NULL, array('absolute' => TRUE)) . (variable_get('clean_url', 0) ? '' : '?q='), @@ -198,7 +198,7 @@ function path_admin_filter_form(&$form_state, $keys = '') { '#type' => 'textfield', '#title' => '', '#default_value' => $keys, - '#maxlength' => 64, + '#maxlength' => 128, '#size' => 25, ); $form['basic']['inline']['submit'] = array( diff --git a/modules/path/path.module b/modules/path/path.module index 7e88727df37b20d9449010d28cd7ff94390cf7fc..f7eb8c0919dcd114abbaf5e1399968f0d6f60d6c 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -192,7 +192,7 @@ function path_form_alter(&$form, $form_state, $form_id) { $form['path']['path'] = array( '#type' => 'textfield', '#default_value' => $path, - '#maxlength' => 250, + '#maxlength' => 128, '#collapsible' => TRUE, '#collapsed' => TRUE, '#description' => t('Optionally specify an alternative URL by which this node can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'),