Index: modules/path/path.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/path/path.admin.inc,v
retrieving revision 1.7.2.1
diff -u -F '^f' -r1.7.2.1 path.admin.inc
--- modules/path/path.admin.inc	22 Nov 2008 10:49:15 -0000	1.7.2.1
+++ modules/path/path.admin.inc	3 Nov 2010 15:38:34 -0000
@@ -92,7 +92,7 @@ function path_admin_form(&$form_state, $
     '#type' => 'textfield',
     '#title' => t('Existing system path'),
     '#default_value' => $edit['src'],
-    '#maxlength' => 128,
+    '#maxlength' => 255,
     '#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, $
     '#type' => 'textfield',
     '#title' => t('Path alias'),
     '#default_value' => $edit['dst'],
-    '#maxlength' => 128,
+    '#maxlength' => 255,
     '#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='),
Index: modules/path/path.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/path/path.module,v
retrieving revision 1.138.2.3
diff -u -F '^f' -r1.138.2.3 path.module
--- modules/path/path.module	22 Nov 2008 10:49:15 -0000	1.138.2.3
+++ modules/path/path.module	3 Nov 2010 15:38:34 -0000
@@ -192,7 +192,7 @@ function path_form_alter(&$form, $form_s
     $form['path']['path'] = array(
       '#type' => 'textfield',
       '#default_value' => $path,
-      '#maxlength' => 128,
+      '#maxlength' => 255,
       '#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.'),
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.238.2.25
diff -u -F '^f' -r1.238.2.25 system.install
--- modules/system/system.install	3 Nov 2010 12:29:24 -0000	1.238.2.25
+++ modules/system/system.install	3 Nov 2010 15:38:36 -0000
@@ -1128,13 +1128,13 @@ function system_schema() {
       'src' => array(
         'description' => 'The Drupal path this alias is for; e.g. node/12.',
         'type' => 'varchar',
-        'length' => 128,
+        'length' => 255,
         'not null' => TRUE,
         'default' => ''),
       'dst' => array(
         'description' => 'The alias for this path; e.g. title-of-the-story.',
         'type' => 'varchar',
-        'length' => 128,
+        'length' => 255,
         'not null' => TRUE,
         'default' => ''),
       'language' => array(
@@ -2714,6 +2714,16 @@ function system_update_6055() {
 }
 
 /**
+ * Increase permitted length of url aliases to 255 characters.
+ */
+function system_update_6056() {
+  $ret = array();
+  db_change_field($ret, 'url_alias', 'src', 'src', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE));
+  db_change_field($ret, 'url_alias', 'dst', 'dst', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE));
+  return $ret;
+}
+
+/**
  * @} End of "defgroup updates-6.x-extra"
  * The next series of updates should start at 7000.
  */
