Skip to content

Commit

Permalink
Fix security bug with missing encodeURI.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed Feb 17, 2020
1 parent 030e404 commit 4df99de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/views/index.js
Expand Up @@ -36,7 +36,7 @@ class IndexView {
<meta name="og:image" content="${protocol}://otl.gg/images/otl.png" />
<meta name="og:title" content="Overload Teams League" />
<meta name="og:type" content="website" />
<meta name="og:url" content="${protocol}://${host}${originalUrl}" />
<meta name="og:url" content="${protocol}://${host}${encodeURI(originalUrl)}" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="@roncli" />
${IndexView.Common.favIcon()}
Expand Down

0 comments on commit 4df99de

Please sign in to comment.