Base64 Function - Insomnia has become unresponsive
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
**Describe the bug**
We have many scripts that contain xml data we are base64 encoding within Insomnia. The files are large, but not ridiculous (60kb).
**To Reproduce**
Steps to reproduce the behavior:
1. Create a POST to any endpoint
2. Add a Base64=>Encode function
3. Paste a larger file in there
4. Do anything, e.g. try to cut/paste it out, try to put a new file in, etc
**Expected behavior**
Normally, the live preview in the "Edit Tag" will take a few seconds to render, then you can click Done
**Screenshots**
[

](url)
**Desktop (please complete the following information):**
- OS: Windows_NT x64 10.0.17763 (also happens on my MacOS)
- Installation Method: Windows installer
- App Version: 2020.4.0
**Additional context**
I believe this is tied to the release that happened on 9/9/2020. Many of us share these scripts, including partners. I'm hearing the exact same issue from all parties. All of our existing scripts now hang when we try to change data in our scripts. It only hangs when changing data in our Base64 Encode function.
Contributor guide
Research direction
Reproduce the freeze by creating a POST, adding a Base64 Encode function, and pasting a large file into it. Check the live preview and editing actions described in the report on Windows or macOS. Done means large Base64 inputs no longer make Insomnia unresponsive and the preview can be completed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100