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.
If an oEmbed title is longer than 255 characters, the MediaInternetOEmbedHandler class may create a file object which cannot be saved to {file_managed} on some database systems (MySQL auto-trims strings that are too long). We should make sure to truncate it to 255 characters first.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1403084-oembed-trim-filename.patch | 683 bytes | Dave Reid |
Comments
Comment #1
Dave ReidComment #2
Anonymous (not verified) CreditAttribution: Anonymous commented