Flowise
Flowise copied to clipboard
[BUG] If you copy a large amount of html/Js/ejs into the chat, it affects the interface.
Describe the bug If you copy a large amount of html/Js/ejs into the chat, it leaks to the interface.
To Reproduce Steps to reproduce the behavior:
- Open a flow
- Start a chat by copy and paste the content of my (GPT-Pilot) project summery file to the chat
- click "send"
- See the background color turn from black to white (dark mode)
Expected behavior No impact what ever you send
Setup
- Installation pnpm start
- Flowise Version 1.6.5
- OS: Debian 12
- Browser: Firefox 125.0.1
I got the same issue a while ago.
I got the same issue as well. Wondering if there is a way to limit the input length.
If this is for embedded chat, it is now resolved. Because previously we did not sanitize the strings, so it pasted as the actual code