The form definition for the URL field left maxlength at its default of 128. The attached patch changes the maxlength to the actual limit of 255.

CommentFileSizeAuthor
cck_redirection.module.patch1.08 KBantgiant

Comments

xevious’s picture

Thank you. This was an issue with iTunes URLs. Perhaps 2048 or user-configurable would be better than 255?

http://www.boutell.com/newfaq/misc/urllength.html

xevious’s picture

For Drupal 5 I added this fragment at line 214.

'#maxlength' => '255',

robin monks’s picture

Status: Needs review » Fixed

Issue with anything larger than 255 is the database field size, this could be corrected in a future patch, or will likely be corrected in D7.

This patch has been tested and applied to Drupal 6 branch.

Thanks for your great work!
/Robin

Status: Fixed » Closed (fixed)

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

BrockBoland’s picture

Any chance a new version will be rolled soon with this update?