Canonical links not respecting trailingSlash behaviour #6603
marcellegane(GitHub profile, opens in a new tab) changed the title
schiller-manuel(GitHub profile, opens in a new tab) added labelsinformation needed
Sign in to join this conversation.
marcellegane(GitHub profile, opens in a new tab) changed the title
schiller-manuel(GitHub profile, opens in a new tab) added labelsinformation needed
Sign in to join this conversation.
@schiller-manuel I've investigated this and found that match.pathname is computed via interpolatePath() which is unaware of the trailingSlash option — would the preferred fix be to normalize match.pathname itself, or to add location to the head() context so users can access the already-normalized pathname there?