summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorBradley Buda <bradleybuda@gmail.com>2013-07-10 17:29:22 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-12 02:29:41 +0200
commit5cab14b8a1dfbb03e22b10af385fb90900a9f280 (patch)
treef5e63e739c86913fc345b989812b96b94ca188e6 /src/plugins/platforms
parent376abfab39fe849a8d43a9cc425012b8dfe5f6ff (diff)
Correct algorithm for digest auth when using the CONNECT verb
QHttpSocketEngine fails to authenticate to an HTTP proxy that is using Digest authentication and the CONNECT method (i.e. when you are tunneling TLS over HTTP). The bug is due to a bad parameter being passed to QAuthenticatorPrivate::calculateResponse - the requestMethod parameter is passed in as "CONNECT " instead of "CONNECT" (note the trailing space). Because an MD5 hash is derived from this method when using the qop="auth" flavor of Digest auth, the hash does not match the expected value and authentication always fails in this configuration. Change-Id: Ia97ce5967bfb57b28db7614347ffdcaa56e4da0c Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions