Skip to content
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

Show string as UTF-8 #8

Open
FranklinYu opened this issue Mar 5, 2019 · 0 comments
Open

Show string as UTF-8 #8

FranklinYu opened this issue Mar 5, 2019 · 0 comments

Comments

@FranklinYu
Copy link

FranklinYu commented Mar 5, 2019

Currently non-ascii text is not supported. For example if we have a JSON like

{"®":true}

It would shows

{
  "®": true
}

reason: the registered trade mark sign is encoded in UTF-8 as C2 AE; when Burp see that, it breaks it into two characters C2 and AE. C2 becomes U+00C2 latin capital letter A with circumflex; AE becomes U+00AE registered trade mark sign.

I don’t know the solution, because ITextEditor is supposed to work like this (unless PortSwigger realize this and create ITextEditor.setText(String)). A solution is to migrate away from the default text editor; I understand that this is expensive.

Note that JSON should always be UTF-8. From RFC 8259, section “Character Encoding”:

JSON text exchanged between systems that are not part of a closed
ecosystem MUST be encoded using UTF-8 [RFC3629].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants