mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 06:01:02 +01:00
Fixed bug in Substitute where commas would not encode correctly
This commit is contained in:
parent
33b606d48f
commit
d6705c682f
@ -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 New Issue
Block a user