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.

CommentFileSizeAuthor
#1 1403084-oembed-trim-filename.patch683 bytesDave Reid
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
683 bytes
Anonymous’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.