You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed on dev-5.0.0 in 24cfa2f0. Translation files are now read with a small parser (strings, => and commas only) instead of eval(). It produces the same arrays for all 259 locale files and rejects anything else, so a writable .inc file can no longer run code. Related: 8eec43fe stops the translation editor writing outside locales/.
Activity
caseysoftware commentedon Jan 4, 2019
That's a great question. This is near the top of my agenda now that I wrapped up the v3.4 release earlier this week.
caseysoftware commentedon Apr 7, 2026
Reviewing this one, it's not critical. It's reading a file generated by the system.
The longer term solution is to rework the translation approach which is well outside the scope of anything in progress.
Read translation files with a parser instead of eval()
caseysoftware commentedon Oct 16, 2026
Fixed on dev-5.0.0 in 24cfa2f0. Translation files are now read with a small parser (strings, => and commas only) instead of eval(). It produces the same arrays for all 259 locale files and rejects anything else, so a writable .inc file can no longer run code. Related: 8eec43fe stops the translation editor writing outside locales/.