Spaces in a query parameter are not taken into account
Expected Behavior
When typing a string that contains spaces as the value of a query parameter, it is expected that the string is exactly what has been typed in.
For example, if the query parameter is used to pass a geographical address to the API method and I type the following address:
Rue de la Rigourdière, 35510 Cesson-Sévigné
Then it is expected that the value of the query parameter is this address:
Actual Behavior
However it is not the current behaviour: spaces are not taken into account and the query parameter value looks like the print screen below after typing all the characters on the keyboard:
One has to either go back/up into the string using the mouse pointer and/or using the backspace key multiple times in order to make Insomnia accept one single space. Which is pretty annoying.
This behaviour appeared recently but could be observed at least in the previous release.
Reproduction Steps
- Add a query parameter
- Type a string that contains spaces
- Confirm that all spaces are missing from the string
Is there an existing issue for this?
- [X] I have searched the issue tracker for this problem.
Additional Information
Insomnia Help information:
- Version: Insomnia 10.1.0
- Build date: 16/10/2024
- OS: Windows_NT x64 10.0.19045
- Electron: 31.4.0
- Node: 20.16.0
- Node ABI: 125
- V8: 12.6.228.30-electron.0
- Architecture: x64
Windows System information:
- Edition: Windows 10 Entreprise
- Version: 22H2
- Installed: 05/05/2022
- Build: 19045.4894
- Windows Feature Experience Pack 1000.19060.1000.0
Insomnia Version
10.1.0
What operating system are you using?
Windows
Operating System Version
Windows_NT x64 10.0.19045
Installation method
Download from insomnia.rest
Last Known Working Insomnia version
No response
I'm facing the same issue after update. This is a serious bug which is hampering much. Please fix the issue.
Here same, OS: Manjaro Linux x86_64, GNOME 47.2. Insomnia version: 10.2.0
Still here on arch / Endevouros with KDE Plasma
It seems related to #7739
Same behaviour for body>Multipart
Every time I need a "space" I have to copy and paste it from another place 🤦
How could it be possible that a problem like this remain open for over a 6 months!?
Version 11.0.2, Windows x64, also happening to me. This is incredibly frustrating, spaces just get eaten. I can sometimes make it allow me to enter a space by clicking on the UI elements first, but entering in any query parameters that include spaces is very annoying.
I'm glad I'm not the only one having this issue... and at the same time it's also sad to see that more than 6 months later it hasn't been solved.
But at least it's been acknowledged as now the status is set to verified, that's a good start!
Thanks for the reporting. We are looking into this issue. For now, you can use Bulk Edit as a workaround.
Thanks @notjaywu
In Body > Form Data/Multipart there isn't the "Bulk edit" functionality. I've checked the version, it's 11.0.2, the lastest.
This issue stems from a bug in react-aria. I've submitted an issue to them, and I'm looking for a workaround to solve it. https://github.com/adobe/react-spectrum/issues/8104