diff --git a/src/gui/gpl.html b/src/gui/gpl.html index cec3fa8b9..0a01a4bda 100644 --- a/src/gui/gpl.html +++ b/src/gui/gpl.html @@ -1,7 +1,7 @@ - + License diff --git a/src/gui/thanks.html b/src/gui/thanks.html index 6a3b9fb31..a0de13829 100644 --- a/src/gui/thanks.html +++ b/src/gui/thanks.html @@ -1,7 +1,7 @@ - + Thanks diff --git a/src/gui/translators.html b/src/gui/translators.html index 10831ac1c..a8384544c 100644 --- a/src/gui/translators.html +++ b/src/gui/translators.html @@ -1,7 +1,7 @@ - + Translators diff --git a/src/webui/www/private/scripts/mocha-init.js b/src/webui/www/private/scripts/mocha-init.js index d59c119c5..ff92c69db 100644 --- a/src/webui/www/private/scripts/mocha-init.js +++ b/src/webui/www/private/scripts/mocha-init.js @@ -1025,7 +1025,7 @@ const initializeWindows = function() { new Request({ url: 'api/v2/app/shutdown', onSuccess: function() { - document.write(' QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]

QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]

'); + document.write(' QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]

QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]

'); document.close(); stop(); } diff --git a/src/webui/www/public/scripts/login.js b/src/webui/www/public/scripts/login.js index 00cffccda..175e0012c 100644 --- a/src/webui/www/public/scripts/login.js +++ b/src/webui/www/public/scripts/login.js @@ -42,7 +42,7 @@ function submitLoginForm() { const xhr = new XMLHttpRequest(); xhr.open('POST', 'api/v2/auth/login', true); - xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded; charset=utf-8'); + xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded; charset=UTF-8'); xhr.addEventListener('readystatechange', function() { if (xhr.readyState === 4) { // DONE state if ((xhr.status === 200) && (xhr.responseText === "Ok."))