Download & Extend

URLs limited to 128 characters instead of 255

Project:CCK Redirection
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
cck_redirection.module.patch1.08 KB

Comments

#1

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

#2

For Drupal 5 I added this fragment at line 214.

        '#maxlength' => '255',

#3

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

#4

Status:fixed» closed (fixed)

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

#5

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