mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
BUGFIX: Fix Web UI authentication with Opera Browser
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
- FEATURE: Official support for Win32 platform
|
- FEATURE: Official support for Win32 platform
|
||||||
- BUGFIX: Fix torrent availability computation (closes #587337)
|
- BUGFIX: Fix torrent availability computation (closes #587337)
|
||||||
- BUGFIX: Disable torrent addition dialog as a default
|
- BUGFIX: Disable torrent addition dialog as a default
|
||||||
- BUGFIX: Fix compatibility with non-unicode systems
|
- BUGFIX: Fix Web UI authentication with Opera Browser
|
||||||
|
- BUGFIX: Fix compatibility with non UTF-8 systems
|
||||||
|
|
||||||
* Mon May 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.8
|
* Mon May 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.8
|
||||||
- BUGFIX: ETA for finished torrent is now 0 instead of Infinite (closes #583704)
|
- BUGFIX: ETA for finished torrent is now 0 instead of Infinite (closes #583704)
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ void HttpConnection::respond() {
|
|||||||
qDebug("client IP: %s (%d failed attempts)", qPrintable(peer_ip), nb_fail+1);
|
qDebug("client IP: %s (%d failed attempts)", qPrintable(peer_ip), nb_fail+1);
|
||||||
// Return unauthorized header
|
// Return unauthorized header
|
||||||
generator.setStatusLine(401, "Unauthorized");
|
generator.setStatusLine(401, "Unauthorized");
|
||||||
generator.setValue("WWW-Authenticate", "Digest realm=\""+QString(QBT_REALM)+"\", nonce=\""+parent->generateNonce()+"\", algorithm=\"MD5\", qop=\"auth\"");
|
generator.setValue("WWW-Authenticate", "Digest realm=\""+QString(QBT_REALM)+"\", nonce=\""+parent->generateNonce()+"\", opaque=\""+parent->generateNonce()+"\", stale=\"false\", algorithm=\"MD5\", qop=\"auth\"");
|
||||||
write();
|
write();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user