2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-11 13:53:26 +00:00

Merge branch 'bug-substitute'

This commit is contained in:
n1474335
2017-08-25 11:50:07 +00:00

View File

@@ -766,8 +766,8 @@ const Cipher = {
* @returns {string} * @returns {string}
*/ */
runSubstitute: function (input, args) { runSubstitute: function (input, args) {
let plaintext = Utils.expandAlphRange(args[0]).join(), let plaintext = Utils.expandAlphRange(args[0]).join(""),
ciphertext = Utils.expandAlphRange(args[1]).join(), ciphertext = Utils.expandAlphRange(args[1]).join(""),
output = "", output = "",
index = -1; index = -1;