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.
Some applications may have the need to have urls longer than 255 characters (although it's not a good idea).
If we configure an url field processed by xmlsitemap longer than 255 characters, on the form submit an SQL error is raised, breaking the submit flow.
Though long urls are not a good practice, could we rise the varchar column definition to something like varchar(1024)?
In any case I think the SQL error should be managed to at least not crash the admin.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedBased on what I've researched WRT this feature request I'm going to suggest that it be a text field instead of varchar. I found reference that IE 8 has a max of 4096 and I found reference to FF with a max of 2 GB.