summaryrefslogtreecommitdiffstats
path: root/src/oauth/qoauth2authorizationcodeflow.cpp
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2017-03-28 18:50:11 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2017-03-29 06:50:07 +0000
commitdecac344458ddd45ec8f03d721d40795c7095404 (patch)
tree8e696604aad1dfdb835c495a715db79fee228e33 /src/oauth/qoauth2authorizationcodeflow.cpp
parent97db61d77432eefbc489d292cc95ed0a4902e77f (diff)
Fix HTML response when using multibyte characters
Report correct Content-Length even when multibyte characters are passed to the QOAuthHttpServerReplyHandler::setCallbackText() function. Previously the length of a QString was used, that would be less than the length of the UTF-8 encoding of it that was the actual content. Task-number: QTBUG-59725 Change-Id: I1536b636027f81bb234969051a8fc9d88e506f8c Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Diffstat (limited to 'src/oauth/qoauth2authorizationcodeflow.cpp')
0 files changed, 0 insertions, 0 deletions