In path.module in function path_form() in field 'dst' is set #maxlenght characters limit to 64 but in database is possible set 128 character path alias...

  $form['dst'] = array(
    '#type' => 'textfield',
    '#default_value' => $edit['dst'],
    '#maxlength' => 64, // HERE
    '#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
    '#field_prefix' => url(NULL, NULL, NULL, TRUE) . (variable_get('clean_url', 0) ? '' : '?q=')
  );

Comments

Anonymous’s picture

Version: 5.2 » 5.5
Assigned: Unassigned »

Hi. I'm using latest version - Drupal 5.5 and i have recently noticed this bug too. So someone should fix it.

pancho’s picture

Title: In URL aliases - edit, destination field maxlenght is set only for 64 chars but alias can be 128 chars long » Allow 128 chars in URL alias path
Version: 5.5 » 6.x-dev
Assigned: » pancho
Category: bug » task

This is no bug, as the inconsistency poses no problem. Rather it is a feature request, one that in fact applies to D6 as well.
I would second enlarging the allowed path length to 128, but we need to make sure this is consistent.
No idea, if this has a chance to get into D6 though.

pancho’s picture

Version: 6.x-dev » 7.x-dev
Assigned: pancho » Unassigned

Moving to D7 queue.

dave reid’s picture

Status: Active » Fixed

This has been fixed in HEAD and D6.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.