undertow/src/main/java/org/wildfly/extension/undertow/security/JbossAuthorizationManager.java
protected String requestURI(HttpServerExchange request) {
        String uri = request.getRelativePath();
        if (uri == null || uri.equals("/")) {
            uri = "";
        }
        return uri;
    }
protected String requestURI(HttpServerExchange request) {
        String uri = request.getRelativePath();
        if (uri == null || uri.equals("/")) {
            uri = "";
        }
        return uri;
    }
Get the canonical request URI from the request mapping data requestPath

@param request
@return the request URI path