The module assumes the PHP Intl extension is installed and it uses the Transliterator class without first checking the extension has been installed

Created on 13 April 2022, about 3 years ago
Updated 14 January 2025, 3 months ago

When release 7.x-2.4 is installed, it causes the following fatal error.

Error: Class 'Transliterator' not found in rename_admin_paths_url_inbound_alter()

It happens because the Transliterator class is implemented by the Intl extension, an extension Drupal 7 doesn't require. Since that is required for the module to be considered secure, it should not be possible to install the module without the Intl extension. The module should give an error when the extension isn't found.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom Frosty29

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024