Skip to content

Commit

Permalink
Fixed data validation tool
Browse files Browse the repository at this point in the history
  • Loading branch information
jfkonecn committed Sep 25, 2024
1 parent 79bcf58 commit 0543304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
!path.startsWith("/v3/api-docs") &&
!path.startsWith("/login") &&
!path.startsWith("/oauth2") &&
!path.startsWith("/websocket") &&
!path.contains(".") &&
path.matches("/(.*)")
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ProxyWebSocketHandler(ApplicationProperties applicationProperties) {
@Override
public void afterConnectionEstablished(WebSocketSession session) throws Exception {
try {
String incomingUri = session.getUri().toString();
String incomingUri = session.getUri().getPath();
StandardWebSocketClient client = new StandardWebSocketClient();
OncoCoreWebSocketHandler handler = new OncoCoreWebSocketHandler(session);
client.doHandshake(handler, this.baseUrl + "/api" + incomingUri);
Expand Down

0 comments on commit 0543304

Please sign in to comment.