private static boolean pathContainsDoubleDots(Bytes path, boolean allowSemicolonInPathComponent) {
        final int length = path.length;
        byte b0 = 0;
        byte b1 = 0;
        byte b2 = '/';
        for (int i = 1; i < length; i++) {
            final byte b3 = path.data[i];
            // Flag if the last four bytes are `/../`.
            if (b1 == '.' && b2 == '.' && isSlash(b0) &&
                (isSlash(b3) || (!allowSemicolonInPathComponent && b3 == ';'))) {
                return true;
            }
            b0 = b1;
            b1 = b2;
            b2 = b3;
        }

        // Flag if the last three bytes are `/..`.
        return b1 == '.' && b2 == '.' && isSlash(b0);
    }
Marks this {@link RequestTarget} as stored in {@link RequestTargetCache} so that it doesn't
try to store again.
core/src/main/java/com/linecorp/armeria/internal/common/DefaultRequestTarget.java