Skip to content

Commit

Permalink
Fixing Potentially unsafe external link
Browse files Browse the repository at this point in the history
  • Loading branch information
JV-conseil committed Feb 22, 2024
1 parent 1d76fce commit d3b8b11
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion public/assets/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions public/sdu/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
</iframe>
</main>
<footer class="Footer py-3">
<p><a class="fgColor-default" href="https://www.ulynks.io/" target="_blank"
rel="noopener noreferrer">Fixie Agents by uLynks Copyright
<p><a class="fgColor-default" href="https://www.ulynks.io/">Fixie Agents by uLynks Copyright
2024</a>. All rights reserved.
</p>
</footer></div><script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"
Expand Down
2 changes: 1 addition & 1 deletion static/assets/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion themes/ulynks/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(function () {
*/
$("a[href^='http']").each(function () {
/* console.debug('_link', this.href); */
$(this).attr('target', '_blank')
$(this).attr({ 'target': '_blank', 'rel': 'noopener noreferrer' })
})
});

Expand Down
3 changes: 1 addition & 2 deletions themes/ulynks/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<footer class="Footer py-3">
<p><a class="fgColor-default" href="{{ .Site.Params.mainWebsite }}" target="_blank"
rel="noopener noreferrer">{{ .Site.Title }} Copyright
<p><a class="fgColor-default" href="{{ .Site.Params.mainWebsite }}">{{ .Site.Title }} Copyright
{{ now.Year }}</a>. All rights reserved.
</p>
</footer>

0 comments on commit d3b8b11

Please sign in to comment.