Skip to content

Commit

Permalink
Add strtolower for comparison, regression
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Dec 12, 2014
1 parent a344174 commit 8fecf6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/Tracker/PageUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public static function reencodeParameters(&$queryParameters, $encoding = false)
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.");
Expand Down
2 changes: 1 addition & 1 deletion plugins/CustomAlerts
2 changes: 1 addition & 1 deletion tests/PHPUnit/UI
Submodule UI updated from 4d8fb3 to bc4eed

0 comments on commit 8fecf6d

Please sign in to comment.