support :: and :id in url matching