Skip to content

Commit f6b7c4e

Browse files
committed
Make connection url case sensitive for WebPubSub
1 parent fa3d8e8 commit f6b7c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Websockets/ClientWebSocket/ClientWebSocket.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void Connect(string uri)
108108
{
109109
State = WebSocketFrame.WebSocketState.Connecting;
110110

111-
var splitUrl = uri.ToLower().Split(new char[] { ':', '/', '/' }, 4);
111+
var splitUrl = uri.Split(new char[] { ':', '/', '/' }, 4);
112112

113113
if (splitUrl.Length == 4 && splitUrl[0] == "ws")
114114
{

0 commit comments

Comments
 (0)