allow ./ and // in index paths