default String getRequestURL() {
        var idx = getFullRequestURL().indexOf('?');
        if (idx != -1) {
            return getFullRequestURL().substring(0, idx);
        }
        return getFullRequestURL();
    }
Return the full URL (without the query string) the client used to request the server.

@return the URL
@since 5.1.2
pac4j-core/src/main/java/org/pac4j/core/context/WebContext.java