$languageFactory->getLanguage() throws an exception on an invalid language code. Therefore first validate the values by $languageNameUtils->isKnownLanguageTag(). Also use getRawVal() instead if getVal() because the UTF-8 normalization is not needed here. Also use getRawLanguage instead of getLanguage because a replacement of dummy language codes is not needed here. Bug: T207981 Change-Id: If4823eca18c5f2dab02368740c3fd95b58738e2b |
||
|---|---|---|
| .. | ||
| images | ||
| overrides | ||
| .eslintrc.json | ||
| config.css | ||
| config.js | ||
| index.php | ||