Language: Java
Label: safe
CWE: NVD-CWE-noinfo \u2014 

Code:
    public static RequestTarget forServer(String reqTarget, boolean allowSemicolonInPathComponent,
                                          boolean allowDoubleDotsInQueryString) {
        final RequestTarget cached = RequestTargetCache.getForServer(reqTarget);
        if (cached != null) {
            return cached;
        }

        return slowForServer(reqTarget, allowSemicolonInPathComponent, allowDoubleDotsInQueryString);
    }