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

Support umlauts in user names on export #88

Open
CFPrulez opened this issue Dec 2, 2021 · 0 comments
Open

Support umlauts in user names on export #88

CFPrulez opened this issue Dec 2, 2021 · 0 comments

Comments

@CFPrulez
Copy link

CFPrulez commented Dec 2, 2021

Issue

User names are not base64 encoded when being exported/saved. If a user name contains special characters (e.g., German umlauts like ö, ä, ü), saving the state will no longer work due to an UnicodeDecodeError.

Steps to reproduce

  1. Set the username to Test ö Crash.
  2. Click on Save and try to save.

Stacktrace

Traceback (most recent call last):
  File "C:\Users\<snip>\AppData\Roaming\BurpSuite\bapps\30d8ee9f40c041b0bfec67441aad158e\AuthMatrix.py", line 705, in saveClick
    jsonValue = self._db.getSaveableJson()
  File "C:\Users\<snip>\AppData\Roaming\BurpSuite\bapps\30d8ee9f40c041b0bfec67441aad158e\AuthMatrix.py", line 1865, in getSaveableJson
    return json.dumps(stateDict)
  File "C:\Users\<snip>\Programme\BurpSuite\jython-standalone-2.7.0.jar\Lib\json\__init__.py", line 243, in dumps
  File "C:\Users\<snip>\Programme\BurpSuite\jython-standalone-2.7.0.jar\Lib\json\encoder.py", line 206, in encode
  File "C:\Users\<snip>\Programme\BurpSuite\jython-standalone-2.7.0.jar\Lib\json\encoder.py", line 269, in iterencode
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 5-8: invalid data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant