Skip to content

'import from curl' truncates post body when processing base64 string #8731

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

Open
2 of 4 tasks
xixiaxixi opened this issue May 19, 2025 · 0 comments
Open
2 of 4 tasks
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@xixiaxixi
Copy link

xixiaxixi commented May 19, 2025

Expected Behavior

The whole POST BODY should be parsed

Actual Behavior

When using "import from cURL", pasting this

curl -H 'sid: 3aea5a3e7f474f348bab813c5da47db6' -H 'user-agent: Mozilla/5.0 (Linux; Android 12; Redmi K30 Pro Build/SKQ1.211006.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.104 Mobile Safari/537.36' -H 'content-type: application/json; charset=UTF-8' --compressed -X POST 'https://fat-taxiapi.hellobike.com/api#inner_action=hitch.PaxPublishOrderPage.PageInitFunction' -d '......"MTc1NTQxMjAwNw==.LDYf4uMgeVhaY34J6XCrFrE75WspYHmpJVQoopaEhEo=........!!!This sentence is truncated!!!'

the result is ......"MTc1NTQxMjAwNw, the string after ==. is truncated.

Reproduction Steps

No response

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

No response

Insomnia Version

11.1.0

What operating system are you using?

macOS

Operating System Version

15.4.1 (24E263)

Installation method

from github release

Last Known Working Insomnia version

No response

@xixiaxixi xixiaxixi added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

1 participant