Skip to content

Commit 79b8223

Browse files
committed
Merge remote-tracking branch 'origin/jetty-9.4.x'
2 parents 32bc929 + 8d21193 commit 79b8223

File tree

1 file changed

+1
-1
lines changed
  • jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/util

1 file changed

+1
-1
lines changed

jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/util/WSURI.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static URI toWebsocket(final URI inputUri) throws URISyntaxException
120120
if ("ws".equalsIgnoreCase(httpScheme) || "wss".equalsIgnoreCase(httpScheme))
121121
{
122122
// keep as-is
123-
return new URI(inputUri.toString());
123+
return inputUri;
124124
}
125125

126126
if ("http".equalsIgnoreCase(httpScheme))

0 commit comments

Comments
 (0)