mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Input and Output character encodings are now stored in the URL, allowing for accuate deeplinking
This commit is contained in:
parent
a141873db8
commit
a07b8f693b
5 changed files with 51 additions and 30 deletions
|
@ -138,9 +138,14 @@ class ControlsWaiter {
|
|||
}
|
||||
}
|
||||
|
||||
const inputChrEnc = this.manager.input.inputChrEnc;
|
||||
const outputChrEnc = this.manager.output.outputChrEnc;
|
||||
|
||||
const params = [
|
||||
includeRecipe ? ["recipe", recipeStr] : undefined,
|
||||
includeInput && input.length ? ["input", Utils.escapeHtml(input)] : undefined,
|
||||
inputChrEnc !== 0 ? ["ienc", inputChrEnc] : undefined,
|
||||
outputChrEnc !== 0 ? ["oenc", outputChrEnc] : undefined
|
||||
];
|
||||
|
||||
const hash = params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue