Open
Description
Describe the bug
This is only tested on Management plugin RabbitMQ 4.0.8.
It could also be an issue when referencing the broker definition in the config files directly but not tested.
When the file in UTF-8 encoding does have a BOM the management plugin raises an error that the json could not be parsed.
Reproduction steps
- Login to RabbitMQ Management Client
- In the overview Tab -> Export definitions
- In the overview Tab -> Import definitions and use exported file = working
- Open the exported definition in an editor and save it as UTF-8 with BOM.
- In the overview Tab -> Import definitions and use modified file = not working
- Open the exported definition in an editor and save it as UTF-8 without BOM.
- In the overview Tab -> Import definitions and use modified file = working
Expected behavior
The presence of a BOM should have no effect on the capability to parse the json inside the file.