mirror of
https://github.com/gchq/CyberChef
synced 2025-01-12 20:48:49 +00:00
Fixed bug in Substitute where commas would not encode correctly
This commit is contained in:
parent
33b606d48f
commit
d6705c682f
1 changed files with 2 additions and 2 deletions
|
@ -766,8 +766,8 @@ const Cipher = {
|
|||
* @returns {string}
|
||||
*/
|
||||
runSubstitute: function (input, args) {
|
||||
let plaintext = Utils.expandAlphRange(args[0]).join(),
|
||||
ciphertext = Utils.expandAlphRange(args[1]).join(),
|
||||
let plaintext = Utils.expandAlphRange(args[0]).join(""),
|
||||
ciphertext = Utils.expandAlphRange(args[1]).join(""),
|
||||
output = "",
|
||||
index = -1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue