EsperoTech / yaade

Yaade is an open-source, self-hosted, collaborative API development environment.
MIT License
1.56k stars 68 forks source link

sanitize clipboard when pasting into parameter input field #147

Closed n14s closed 2 months ago

n14s commented 5 months ago

When pasting into the parameter input field (or any other kv field) the paste fails when the content contains a newline. Let's sanitize the input on pasting.

I suggest that everything after a newline (incl the newline) is trimmed.