Less sensitive to missing leading/trailing slash.