Skip to content
Extraits de code Groupes Projets
Valider 8fecf6d1 rédigé par mattab's avatar mattab
Parcourir les fichiers

Add strtolower for comparison, regression

parent a3441744
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -259,7 +259,7 @@ class PageUrl
if (function_exists('mb_check_encoding')) {
// if query params are encoded w/ non-utf8 characters (due to browser bug or whatever),
// encode to UTF-8.
if ($encoding != 'utf-8'
if (strtolower($encoding) != 'utf-8'
&& $encoding != false
) {
Common::printDebug("Encoding page URL query parameters to $encoding.");
......
Subproject commit 8ad0ac8638c27a93cb4bef80ecdd29b56876430b
Subproject commit 2f10c8b496252d1527a47864cf39d18b359b7ae3
Subproject commit 4d8fb3daa22a7fee386bf0990912f3b5e4ecfa36
Subproject commit bc4eed362e35a721cd0911393a9cc1df6580a1d0
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter