View Issue Details

IDProjectCategoryView StatusLast Update
0006775Flow themeThemepublic2025-06-25 11:08
Reporterleofonic Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Summary0006775: language strings are not escaped in js
DescriptionIf language strings from i18n/js_vars.tpl contain single quotes, this causes a js error because they are not escaped.
TagsNo tags attached.

Activities

QA

2018-01-19 15:46

administrator   ~0012358

Why should language strings contain single quotes?
Please give more information or a step by step instruction for reproducing and to understand your case of application.

leofonic

2018-01-20 18:14

reporter   ~0012359

This came up in forums because french translation files from oxidforge contain single quotes:

'DD_FORM_VALIDATION_VALIDEMAIL' => 'S\'il vous plaƮt, mettez une adresse email valide.',

leofonic

2018-01-20 18:16

reporter   ~0012360

https://github.com/OXIDprojects/languages/blob/master/application/views/flow/fr/lang.php