We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 32bc929 + 8d21193 commit 79b8223Copy full SHA for 79b8223
jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/util/WSURI.java
@@ -120,7 +120,7 @@ public static URI toWebsocket(final URI inputUri) throws URISyntaxException
120
if ("ws".equalsIgnoreCase(httpScheme) || "wss".equalsIgnoreCase(httpScheme))
121
{
122
// keep as-is
123
- return new URI(inputUri.toString());
+ return inputUri;
124
}
125
126
if ("http".equalsIgnoreCase(httpScheme))
0 commit comments