-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.0
-
None
-
WIN 7 Ultimate/64, Visual Studio 2012 Professional
-
85a8ea105646c7d871f982b890ef5f6faa91824d
If you try to connet to a websocket using host and port the m_requestUrl.setHost(host) method fails. This failure is not checked. Additionally the check for validity is wrong.
Thus leading to a wrong socket->resourceName.
Resouce Name must be path of URL and must not contain a scheme Information.
Can also be found in the Simple Chat Server.
For Gerrit Dashboard: QTBUG-39355 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
106725,4 | fix the port in Host field in handshake request | 5.4 | qt/qtwebsockets | Status: MERGED | +2 | 0 |