Should use normalize_uri for this