Match entrypints from long uris.