openeuropa / oe_corporate_blocks

OpenEuropa Corporate Blocks
European Union Public License 1.2
2 stars 7 forks source link

Transliteration breaks #103

Open golddragon007 opened 2 years ago

golddragon007 commented 2 years ago

Transliteration breaks if the label contains a character that does not match the following regex: [a-zA-Z0-9] (i.e. space or any special char with the exception of ) On page: /admin/config/footer_link_general/add

Log: Path: /machine_name/transliterate_en?text=Privacy%20policy%20&langcode=en&replace_pattern=[^a-z0-9_]+&replace_token=6-kV-IW3dbrxFcXYJdesTf3U0SDTqsHwWIR87yZzKW0&replace=_&lowercase=true. Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: Invalid 'replace_token' query parameter. in Drupal\system\MachineNameController->transliterate() (line 83 of /core/modules/system/src/MachineNameController.php).

AaronGilMartinez commented 1 month ago

Hello @golddragon007, the log is showing a error related with the machine name. Can you confirm if the issue is still applies and what values are you trying to set in which fields, please?