Cannonicalize the URL path in flask