Skip to content

Commit

Permalink
fix: ensure we throw an error when trying to base64 decode _ via atob
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Sep 26, 2023
1 parent 5288bc5 commit 1b2b2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/js-compute-runtime/js-compute-builtins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ const uint8_t base64DecodeTable[128] = {
/* 64 */ nonAlphabet, 0, 1, 2, 3, 4, 5, 6,
/* 72 */ 7, 8, 9, 10, 11, 12, 13, 14,
/* 80 */ 15, 16, 17, 18, 19, 20, 21, 22,
/* 88 */ 23, 24, 25, nonAlphabet, nonAlphabet, nonAlphabet, nonAlphabet, 63,
/* 88 */ 23, 24, 25, nonAlphabet, nonAlphabet, nonAlphabet, nonAlphabet, nonAlphabet,
/* 96 */ nonAlphabet, 26, 27, 28, 29, 30, 31, 32,
/* 104 */ 33, 34, 35, 36, 37, 38, 39, 40,
/* 112 */ 41, 42, 43, 44, 45, 46, 47, 48,
Expand Down

0 comments on commit 1b2b2f9

Please sign in to comment.