diff --git a/web/src/html.js b/web/src/html.js index f2da2efef..3e5850e17 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -23,7 +23,7 @@ const { } = require('../../ui/util/web'); const { getJsBundleId } = require('../bundle-id.js'); const { lbryProxy: Lbry } = require('../lbry'); -const { parseURI, normalizeClaimUrl } = require('./lbryURI'); +const { buildURI, parseURI, normalizeClaimUrl } = require('./lbryURI'); const fs = require('fs'); const moment = require('moment'); const PAGES = require('../../ui/constants/pages'); @@ -363,7 +363,8 @@ async function getHtml(ctx) { } if (!requestPath.includes('$')) { - const claimUri = normalizeClaimUrl(requestPath.slice(1)); + const parsedUri = parseURI(normalizeClaimUrl(requestPath.slice(1))); + const claimUri = buildURI({ ...parsedUri, startTime: undefined }); const claim = await resolveClaimOrRedirect(ctx, claimUri); const referrerQuery = escapeHtmlProperty(getParameterByName('r', ctx.request.url));