Posted by antgiant on July 21, 2009 at 6:50pm
Jump to:
| 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.
| Attachment | Size |
|---|---|
| cck_redirection.module.patch | 1.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
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
Automatically closed -- issue fixed for 2 weeks with no activity.
#5
Any chance a new version will be rolled soon with this update?