Only redirect to data URI if such was requested
Only redirect to data URI if such was requested

The redirect URI was wrongly constructed when the redirect was to a
canonical URI of a main entity. Specifically a "data.{suffix}" was
appended to a hash URI, or to a "nice" formal URI (like those at
id.kb.se).

libris/librisxl,libris/librisxl,libris/librisxl