Avoid angular translate security warning
This commit is contained in:
parent
7437b2d631
commit
ad551f2969
|
@ -41,6 +41,7 @@ webui.config(['$translateProvider', function ($translateProvider) {
|
||||||
.translations('ru_RU', mergeTranslation(translations.ru_RU, translations.en_US))
|
.translations('ru_RU', mergeTranslation(translations.ru_RU, translations.en_US))
|
||||||
.translations('it_IT', mergeTranslation(translations.it_IT, translations.en_US))
|
.translations('it_IT', mergeTranslation(translations.it_IT, translations.en_US))
|
||||||
.translations('tr_TR', mergeTranslation(translations.tr_TR, translations.en_US))
|
.translations('tr_TR', mergeTranslation(translations.tr_TR, translations.en_US))
|
||||||
|
.useSanitizeValueStrategy('escapeParameters')
|
||||||
.determinePreferredLanguage();
|
.determinePreferredLanguage();
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user