Polish contribution
See gh-23923
This commit is contained in:
@@ -472,7 +472,7 @@ public abstract class AbstractSockJsService implements SockJsService, CorsConfig
|
||||
private boolean validatePath(ServerHttpRequest request) {
|
||||
String path = request.getURI().getPath();
|
||||
int index = path.lastIndexOf('/') + 1;
|
||||
return path.indexOf(';', index) == -1;
|
||||
return (path.indexOf(';', index) == -1);
|
||||
}
|
||||
|
||||
protected boolean checkOrigin(ServerHttpRequest request, ServerHttpResponse response, HttpMethod... httpMethods)
|
||||
|
||||
Reference in New Issue
Block a user