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.
Problem/Motivation
Pathauto has problems with preg_match (regexp library):
preg_match(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 2113 in pathauto/pathauto.inc on line 902.
The issue is similar to #1446372 (core) #1444006 (ctools)
Proposed resolution
Omit or replace the offending Unicode code range.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2401873-unicode_0xd800_p1.patch | 729 bytes | mtcs |
#1 | 2401873-unicode_0xd800.patch | 653 bytes | mtcs |
Comments
Comment #1
mtcs CreditAttribution: mtcs commentedComment #3
jdanthinne CreditAttribution: jdanthinne commented#1 works fine for me.
Comment #4
mtcs CreditAttribution: mtcs commentedThe testbot does not like -p0 patches. Submitting a new version.
Comment #5
mtcs CreditAttribution: mtcs commentedComment #6
Dave ReidThis has already been applied to 6.x-2.x-dev from http://cgit.drupalcode.org/pathauto/commit/pathauto.inc?h=6.x-2.x&id=2ca...