Skip to content

v1.5.2 — @harperfast/prerender-browser

Choose a tag to compare

@harper-joseph harper-joseph released this 06 Jul 23:49
ab3b337

@harperfast/prerender-browser v1.5.2

Fix: a page whose <link rel="canonical"> used a literal reserved char (e.g. :) was wrongly marked non-indexable when the request carried the encoded form (%3A) — the same resource compared as different strings (searchParams.sort() form-encodes :%3A on one side but not the other, and decodeURI can't reconcile reserved-char escapes).

Canonical comparison now ignores encoding, param order, hash, and trailing-slash differences (a relative canonical resolves against the page URL). URL logic is now a single, unit-tested module so the two normalizers can't drift again.