locale_string_is_safe should accept "<front>" as being safe

Created on 12 September 2024, 6 months ago

Problem/Motivation

When a translatable string contains <front>, the \Drupal\locale\PoDatabaseWriter::importString reports an error, although this is a valid string in the Drupal world.

Proposed resolution

Remove that substring before testing the XSS filter.

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
LocaleΒ  β†’

Last updated 4 days ago

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024