Skip to content

Commit 112ad81

Browse files
JisanAR03DonnieBLT
authored andcommitted
fix security issue #1556 & #1555
1 parent 510238a commit 112ad81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/templates/issue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ <h3>Comments:</h3>
414414
<script type="text/javascript">
415415
function sanitizeURL(url) {
416416
var a = document.createElement('a');
417-
a.href = url;
417+
a.href = encodeURI(url);
418418
return a.href;
419419
}
420420

0 commit comments

Comments
 (0)