gchq/CyberChef

bug(Swap Endianness): an uncaught TypeError "u.push is not a function"

已關閉

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

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

倉庫指標

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

描述

To reproduce that use a direct link https://gchq.github.io/CyberChef/#recipe=Swap_endianness('',2,true)&input=aGVsbG8&oenc=65001&oeol=VT

as you can see an uncaught type error appear like

Swap endianness - TypeError in blob:https://gchq.github.io/ca665e42-4811-40fc-9d6a-a868c6bd8271 on line 2.<br><br>Message: u.push is not a function

the issue simple the first parameter not validated is empty or not

貢獻者指南