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 following urls cause an error while saving an Instagram file:
https://www.instagram.com/p/86NTgRCRVr/
https://www.instagram.com/p/zsTj70DIYZ/
The issue is detailed here: https://www.drupal.org/node/1824506
Temporary fix can be applied to MediaInternetOEmbedHandler.inc on line 34:
if (!empty($info['title'])) {
$filename = truncate_utf8($info['title'], 255);
$filename = preg_replace('/[^(\x20-\x7F)]*/','', $filename);
}
I hope this will help debug & fix this issue. Sorry I can't create a proper patch.
Thank you for your work on this module.
Comments
Comment #2
Greg Varga CreditAttribution: Greg Varga commentedComment #3
Greg Varga CreditAttribution: Greg Varga commentedComment #4
Greg Varga CreditAttribution: Greg Varga commentedComment #5
Greg Varga CreditAttribution: Greg Varga commented