Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
[C-2964] Cannonical URL should be uri encoded (#3899)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson authored and dylanjeffers committed Aug 19, 2023
1 parent e3adf7c commit d586a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/scripts/workers-site/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@ class SEOHandlerHead {
const tags = `<title>${clean(title)}</title>
<meta name="description" content="${clean(description)}">
<link rel="canonical" href="https://audius.co${permalink}">
<link rel="canonical" href="https://audius.co${encodeURI(permalink)}">
<meta property="og:title" content="${clean(title)}">
<meta property="og:description" content="${clean(ogDescription)}">
<meta property="og:image" content="${image}">
<meta property="og:url" content="https://audius.co${permalink}">
<meta property="og:url" content="https://audius.co${encodeURI(permalink)}">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="${clean(title)}">
Expand Down

0 comments on commit d586a6b

Please sign in to comment.