mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Use proper uppercase "UTF-8" in charset field
This commit is contained in:
@@ -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."))
|
||||
|
||||
Reference in New Issue
Block a user