(Bedrock) Commands with newlines should not be executed immediately when pasted into chat
If you paste a command into chat that contains a newline, it is immediately executed without giving you any chance to look at it. There are several problems with this.
#1: It is inconvenient. Often I copy a command from some text file or online and paste it into the game with the intent to modify it in the chat window. If the copy function included the newline at the end of the line (it's near impossible to tell whether or not it did), the command is immediately executed instead. This can be quite infuriating.
#2: It is dangerous. A malicious application could secretly put a command on the player's clipboard, then instruct them to paste it into chat. If the message stayed in the chat window, the player would instantly recognize something nefarious. Currently, the command would be immediately executed. Plenty of dangerous commands like /kill @e could permanently ruin a victim's world.
#3: It breaks parity with Java Edition. The team claims to value parity, and this is an example of disparity that should be corrected.
https://bugs.mojang.com/browse/MCPE-39895 was reported and I was directed here.
Please sign in to leave a comment.