mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1894] jwt string in request body gets converted to json payload when scripting is enabled #1887
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1887
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pbt4991 on GitHub (Dec 23, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1894
Originally assigned to: @NghiaTranUIT on GitHub.
Description
I'm working with an API that uses custom "Content-Type" header and the request body is a jwt string.
Whenever I enable Scripting, the jwt in the body gets converted to a json payload. My script does not even contain any logic that modifies the request.
Steps to Reproduce
Current Behavior
Payload is altered:

Expected Behavior
request body should remain as
eyJzdGF0dXMiOiJydW5uaW5nIiwiYWN0aW9ucyI6W3sidHlwZSI6InNldCIsIm91dHB1dCI6Imxpbmtfc291cmNlIiwidmFsdWUiOiJkZWZhdWx0IiwiZG9uZSI6dHJ1ZX1dfQ==Environment
@NghiaTranUIT commented on GitHub (Dec 23, 2023):
Thanks. I will investigate this bug and get back to you asap 👍
@NghiaTranUIT commented on GitHub (Dec 24, 2023):
@theelbowclaps you can try this Beta build: https://download.proxyman.io/beta/Proxyman_4.15.0_Fix_Scripting_with_Body_String.dmg
@pbt4991 commented on GitHub (Dec 27, 2023):
It's working great now. Thanks a bunch!