Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Registration and Change password urls have less size available than I needed.
This supposed a problem in my environment, but I thought that maybe I was using too long urls. However, I saw that the other url fields are longer than these, so I attach a patch for making them all equal.
Comment | File | Size | Author |
---|---|---|---|
#1 | urls-size-1131878-1.patch | 851 bytes | penyaskito |
Comments
Comment #1
penyaskitoAttached a patch for 6.x-3.x, the branch that I used.
Comment #2
penyaskitoThis is already in 7.x-1.x, so no patch needed. Please review 6.x-3.x patch.
Comment #3
bfroehle CreditAttribution: bfroehle commentedI thought the default #size is 60 and default #maxlength is 128. Is that not sufficient?
Comment #4
bfroehle CreditAttribution: bfroehle commentedNonetheless, I've committed your patch which sets '#maxlength' to 255. In doing so, I also changed the maxlength of paths and hostnames to 255 to match the defaults in Drupal core, and reduced the maxlength of the 'CAS port' to 5 (since the maximum port number is 65536).
Thanks for your contribution! Committed to 6.x-3.x and 7.x-1.x.