mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 16:45:57 +03:00
[GH-ISSUE #1258] JSON float number values become incorrect after scripting #1253
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#1253
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 @VolodymyrPavlyshenOnseo on GitHub (Jun 20, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1258
Originally assigned to: @NghiaTranUIT on GitHub.
Version 3.5.2 (30520)
macOS12.4 (21F79)
Expected:After script apply values should stay the same as it was before, seems like after serialising this floats to js object and back they become broken.
@NghiaTranUIT commented on GitHub (Jun 21, 2022):
@VolodymyrPavlyshenOnseo please try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.5.2_Fix_scripting_issue_with_float_number.dmg
Basically, JSONSerialization.data() doesn't properly parse the float number.
Screenshots
@VolodymyrPavlyshenOnseo commented on GitHub (Jun 21, 2022):
looks good in beta build, thx
@torokdnl commented on GitHub (Jun 23, 2022):
@NghiaTranUIT - I think I have a similar issue that is not fixed in 3.6.0.
If I do not have any scrip on then I can see this in the request:
"randomTimestamp": 1655991482
If I turn the scripting on then I can see this in the request:
"randomTimestamp": 1655991522.0000002
Additional data:
Anyway, I've just opened a new issue four our behavior: https://github.com/ProxymanApp/Proxyman/issues/1261
@NghiaTranUIT commented on GitHub (Jun 24, 2022):
@torokdnl @VolodymyrPavlyshenOnseo Let check this build: https://github.com/ProxymanApp/Proxyman/issues/1261#issuecomment-1165296360