mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 16:45:57 +03:00
[GH-ISSUE #492] [BUG] Empty Content for Key Value Encoding in View As menu #490
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#490
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 @NghiaTranUIT on GitHub (Apr 29, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/492
Originally assigned to: @NghiaTranUIT on GitHub.
Description
Proxyman is capable of rendering Base64 or Key-Value from Right Menu -> View as. However, there is a bug in the latest build that the data is empty
Acceptance Criteria
@NghiaTranUIT commented on GitHub (Apr 30, 2020):
Fixed: https://github.com/ProxymanApp/Proxyman/issues/484
@crankygeek commented on GitHub (Aug 5, 2020):
@NghiaTranUIT Does this method use the OS' version of base64 util? If so, it sounds like it's pretty old and doesn't support newlines. I get "" as a result in my testing.
Any chance of bundling an updated version that handles it?
I was wondering if custom previewer tab would work for this, though it could be hard to do since you'd have to ID the encoded string within unencoded data.
@NghiaTranUIT commented on GitHub (Aug 6, 2020):
@crankygeek It's a standard func to decode base64String (utf8)
I tested and it works without any issue. Can you share with me a base64 string that cases the "" string? I would like to investigate
@NghiaTranUIT commented on GitHub (Aug 6, 2020):
You can validate from https://www.base64encode.org, to see if it decodes properly 😄
@crankygeek commented on GitHub (Aug 6, 2020):
Looks like I may be wrong about the newlines, but there is definitely something that the system base64 doesn't like. But here's an example string that I copied directly from the Raw Request which returns "" in Proxyman:
Here's the output when trying to decode it using the system
base64(macOS 10.14.6):And here's the output using the base64 module included with python (Python 2.7.16):
And just to double check that my system base64 is working for simpler strings (source was encoded using the site you provided):
@NghiaTranUIT commented on GitHub (Aug 6, 2020):
It's an interesting base64 problem 💭
I tried and it works if decode with
ignoreUnknownCharactersthen converting to string by ASCII encoding. Otherwise, it won't work with normal decode and UTF8 String.I will improve the base64 decode string by adding this option and try to detect the text encoding 👍
@crankygeek commented on GitHub (Aug 6, 2020):
Cool! Glad I could give you an interesting problem. 😄
Happy to look at a test build when you have one.
@NghiaTranUIT commented on GitHub (Aug 6, 2020):
Please check out this build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.3.0_Improve_Base64_Decoder.dmg
Changelog