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.
| Comment | File | Size | Author |
|---|---|---|---|
| cck_redirection.module.patch | 1.08 KB | antgiant |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| cck_redirection.module.patch | 1.08 KB | antgiant |
Comments
Comment #1
xevious commentedThank 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
Comment #2
xevious commentedFor Drupal 5 I added this fragment at line 214.
'#maxlength' => '255',Comment #3
robin monks commentedIssue 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
Comment #5
BrockBoland commentedAny chance a new version will be rolled soon with this update?