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.
The comments table has several columns using a varchar(size) (60, 64, 255 for those columns we use here.)
The pingback-ers may send much longer strings so we want to truncate them. At this point, I truncate right before adding to the database (see patch) however, doing so early on may be a much better idea especially if some of that data is checked later to verify unicity of the pingback.
This is critical as it breaks the pingback (i.e. you lose it, which was fine in my case since the few I saw failing were total spam.)
Thank you.
Alexis Wilke
Comment | File | Size | Author |
---|---|---|---|
pingback-2.x-overflow-6.x.patch | 527 bytes | AlexisWilke |