Skip to content

Commit

Permalink
Fix code scanning alert no. 50: Overly permissive regular expression …
Browse files Browse the repository at this point in the history
…range

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
km719 and github-advanced-security[bot] authored Dec 19, 2024
1 parent 67e38e7 commit 7f566a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pages/coffa/assets/js/blob-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ Buffer._augment = function (arr) {
return arr
}

var INVALID_BASE64_RE = /[^+\/0-9A-z]/g
var INVALID_BASE64_RE = /[^+\/0-9A-Za-z]/g

function base64clean (str) {
// Node strips out invalid characters like \n and \t from the string, base64-js does not
Expand Down

0 comments on commit 7f566a4

Please sign in to comment.