mirror of
https://github.com/gchq/CyberChef
synced 2025-12-18 01:03:47 +00:00
ESM: Fixed OperationError detection and tidied up ops.
This commit is contained in:
@@ -48,7 +48,7 @@ class URLEncode extends Operation {
|
||||
* @returns {string}
|
||||
*/
|
||||
encodeAllChars (str) {
|
||||
//TODO Do this programatically
|
||||
// TODO Do this programatically
|
||||
return encodeURIComponent(str)
|
||||
.replace(/!/g, "%21")
|
||||
.replace(/#/g, "%23")
|
||||
|
||||
Reference in New Issue
Block a user