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.
I have a url fiel with the option Attempt to fetch the title value from the URL if the Title field is empty.
active.
When I enter a url to a page that has wrong encodings (e.g. http://www.enterag.ch/hartwig/index.xhtml), I get the following errors:
Warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in check_plain() (Zeile 1572 von /var/www/music/htdocs/public/includes/bootstrap.inc).
Warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in check_plain() (Zeile 1572 von /var/www/music/htdocs/public/includes/bootstrap.inc).
PDOException: in field_sql_storage_field_storage_write() (Zeile 448 von /var/www/music/htdocs/public/modules/field/modules/field_sql_storage/field_sql_storage.module).
Comments
Comment #1
Dave ReidI'm not sure how we can fix the encodings, but we can at least prevent the errors. Committed a fix that will allow the field to be saved without error to 7.x-1.x: http://drupalcode.org/project/url.git/commit/fb08dd9.
Renaming to see if we can figure out how to fix the encoding.