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
Depending on the server configuration, it seems to be possible to inject
actual JavaScript code:
http://localhost/translations?locales=foo%0Auncommented%20code;
=>
(function (Translator) {
Translator.fallback = 'en';
Translator.defaultDomain = 'messages';
// foo
uncommented code;
})(Translator);
This issue has been reported by Andreas Forsblom.
This fix filters given locales and remove all locales that are not known
by the Locale (intl extension) class.
Signed-off-by: William DURAND <william.durand1@gmail.com>
0 commit comments