You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
michaelklishin
changed the title
Upload of broker definition fails when the file has a BOM
Definition import should ignore the UTF-8 BOM of the uploaded file
Apr 14, 2025
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
Expected behavior
The presence of a BOM should have no effect on the capability to parse the json inside the file.
Additional context
rabbitMQWorking.json
rabbitMQNotWorking.json
The text was updated successfully, but these errors were encountered: