gchq/CyberChef

bug(From BCD): Uncaught TypeError can'nt access property indexOf, n is undefined

已關閉

#2,489 建立於 2026年6月4日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (3,944 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (34,843 顆星)
PR 合併指標
 (平均合併 57天 13小時) (30 天內合併 62 個 PR)

描述

To reproduce that use a direct url https://gchq.github.io/CyberChef/#recipe=From_BCD('',true,false,'Nibbles')&input=MTAwMA&oeol=VT, then as you can see

From BCD - TypeError in blob:https://gchq.github.io/7f68ce91-b78c-4bad-92a1-2f639f10c891 on line 2.<br><br>Message: can't access property "indexOf", n is undefined

the issue is simple issue the first parameter not checked is empty or not, that persists, because after that a code try to use indexOf in n, and simply n is undefined, will throw an error

貢獻者指南