Skip to content

Commit

Permalink
Fix code scanning alert issue OWASP-BLT#1358
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 committed Oct 22, 2023
1 parent 2095c73 commit 948d738
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion website/static/vendor/jquery/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -5700,7 +5700,8 @@

jQuery.extend({
htmlPrefilter: function (html) {
return html.replace(rxhtmlTag, "<$1></$2>");
var sanitizedHTML = sanitizeHTML(html);
return sanitizedHTML.replace(rxhtmlTag, "<$1></$2>");
},

clone: function (elem, dataAndEvents, deepDataAndEvents) {
Expand Down
2 changes: 1 addition & 1 deletion website/templates/join.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
{% endblock %}

{% block content %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.2.1/velocity.min.js" integrity="sha384-WT0CC+OrC0vGKpxNQInSyfMeKWFIpgiHtnV9HsqN0g6n9urfDfEUQJZFpT0t9P4U" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.2.1/velocity.min.js"></script>

<div class="join-body">
<div id="svg_wrap"></div>
Expand Down

0 comments on commit 948d738

Please sign in to comment.