Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unexpected Prepended Character Found in JSON String Sent in the Request Body #1321

Closed
varvay opened this issue Jan 4, 2024 · 2 comments · Fixed by #1154
Closed

[Bug] Unexpected Prepended Character Found in JSON String Sent in the Request Body #1321

varvay opened this issue Jan 4, 2024 · 2 comments · Fixed by #1154

Comments

@varvay
Copy link

varvay commented Jan 4, 2024

When sending a JSON string with double closed curly brackets }} in a request body, the brackets in the request sent got prepended with an opened square bracket ]. Here's the screenshot,
image

The detail of Bruno app I'm using is written below,

  • Version: v1.5.1
  • Electron: 106.0.5249.103
  • Node: 16.16.0
  • V8: 10.6.194.17-electron.0

And here a bit of my workstation information,

  • OS: Windows 11 Enterprise
  • OS version: 22H2
@varvay
Copy link
Author

varvay commented Jan 4, 2024

I can confirm that the interpolate(str) function in the vars interpolation is the one prepending the closed square bracket ]. The interpolation should be able to recognize this condition when the pair of double opened and closed curly braces wasn't meant to be a variable e.g., in the string JSON case

@Its-treason
Copy link
Member

This is the same issue of #1143 and should be fixed when #1154 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants