summaryrefslogtreecommitdiff
path: root/src/imports/qmlwebsockets/qqmlwebsocket.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-12-07 10:07:25 +0100
committerLiang Qi <liang.qi@qt.io>2017-01-06 08:42:14 +0000
commit670266a075c7c312c6a7f9465298bfec0b968ee2 (patch)
tree4e0f34928d5fd786676ab2f4e59cedfbbf35a9e5 /src/imports/qmlwebsockets/qqmlwebsocket.cpp
parent2eeee81b67ce4fc81793c51bafd2cc1b33076c05 (diff)
downloadqtwebsockets-670266a075c7c312c6a7f9465298bfec0b968ee2.tar.gz
Fix the parser of port in hand shake request
Use QUrl::setAuthority() to parse host and port. The request is invalid when having username or password in Host. Task-number: QTBUG-57357 Change-Id: I4e7c0370794dce15359d372a1e36dc0383083204 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/imports/qmlwebsockets/qqmlwebsocket.cpp')
0 files changed, 0 insertions, 0 deletions