mitre-attack / mitre-attack/mitreattack-python
[Bug] Remove UTF-16 encoding from save/load file in SVGConfig
Open
Nobody has claimed this yet.
bug
- Dominant language
- HTML
- Stars
- 743
- Forks
- 176
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
SVGConfig settings should be successfully loaded from a JSON file encoded using UTF-8 (default encoding).
Actual Behavior
An error is thrown when loading SVGConfig settings from a JSON file if the file is encoded using UTF-8.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the SVGConfig save/load entry point and inspect how its JSON file encoding is specified. Reproduce loading a UTF-8 JSON file, then verify that SVGConfig saves and loads successfully without requiring UTF-16 encoding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100