mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1612] Scripting changes + to %2B in request body #1604
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#1604
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 @Liu-huaicheng on GitHub (Apr 25, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1612
Originally assigned to: @NghiaTranUIT on GitHub.
Description
When using a script like the following :
If the original request body contains "+" characters, they will be interpreted as "%2B" characters on the server.
Steps to Reproduce
application/x-www-form-urlencoded; charset=UTF-8and its body contains+Current Behavior
+chars are changed to%2BExpected Behavior
+chars should be preserved.Environment
@NghiaTranUIT commented on GitHub (Apr 25, 2023):
It automatically decodes the
+character to %2B. It should not do it. Let me check 👍@NghiaTranUIT commented on GitHub (Apr 25, 2023):
@Liu-huaicheng from what I'm investigating: It looks like it's a UI Bug (In the body tab). The Script doesn't change your form body, it preserves how it's.
Here is how I Test:
@Liu-huaicheng Does it change your Response after running the Script?
@Liu-huaicheng commented on GitHub (Apr 25, 2023):
Hi @NghiaTranUIT I just did the further investigation. I don't think it is a UI bug, if the origin request body contains
+then it will be encoded to%2Bwith scripting in Proxyman. (Sorry, I described a bit wrong at first)Here is my reproduce steps:
@NghiaTranUIT commented on GitHub (Apr 25, 2023):
@Liu-huaicheng can you try this Beta build: https://download.proxyman.io/beta/Proxyman_4.6.1_Fix_scripting_with_form_body_encoding.dmg
It doesn't escape the
+char in the form body 👍@Liu-huaicheng commented on GitHub (Apr 26, 2023):
@NghiaTranUIT Fixed in that package 👍
@NghiaTranUIT commented on GitHub (Apr 26, 2023):
Awesome, we will release this fix on the next update 👍