Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
Fix hrefs being normalized twice (r2-testapp-kotlin#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed Feb 24, 2021
1 parent 1364ac1 commit 44adb79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ internal class PublicationFactory(
val (rels, properties) = computePropertiesAndRels(item, itemrefByIdref[item.id])

return Link(
href = Href(item.href, baseHref = packageDocument.path).string,
href = item.href,
type = item.mediaType,
duration = itemMetadata[item.id]?.duration,
rels = rels,
Expand Down

0 comments on commit 44adb79

Please sign in to comment.