Mojira Archive
MC-262117

Language regex too broad

Language.UNSUPPORTED_FORMAT_PATTERN is intended to catch stray %d and %f placeholders in the translation resources and convert them to %s, since the translation component only supports this.

However, the regex is currently too broad – in particular it will also catch and convert %%dark and %%food (to %%sark and %%sood respectively), despite these being escaped.

This does not directly affect players, but it's a landmine waiting for mod developers and also your own dev team.

Unresolved

Gavin Lambert

2023-04-26, 11:25 AM

2024-08-05, 09:14 AM

6

6

Community Consensus

Low

Platform

Internationalisation, Resource Packs

1.19.4, 1.21

-