mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
BUGFIX: Stop enforcing UTF-8 and use system locale instead
This commit is contained in:
parent
ca83fdecff
commit
0153b03160
22 changed files with 123 additions and 122 deletions
|
@ -96,7 +96,7 @@ void HttpServer::onTimer() {
|
|||
void HttpServer::setAuthorization(QString username, QString password)
|
||||
{
|
||||
QString cat = username + ":" + password;
|
||||
base64 = QByteArray(cat.toUtf8()).toBase64();
|
||||
base64 = QByteArray(cat.toLocal8Bit()).toBase64();
|
||||
}
|
||||
|
||||
bool HttpServer::isAuthorized(QByteArray auth) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue