fix: stronger enforcement of normalizeLink (#6728)

fix: stronger enforcement of normalizeLink (#6728)

Co-authored-by: dwelle <luzar.david@gmail.com>