Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Oct 22, 2025

The bug addressed by this PR was found while running the following command:

rabbitmqctl environment --formatter=json

...after configuring the rabbit application to use cacerts with a list of binaries as the value, rather than cacertfile.

This PR also fixes the formatting of the tcp_listeners and ssl_listeners output, because [5672] is a valid list of unicode codepoints that unicode:characters_to_binary will happily convert it, resulting in "tcp_listeners": "ᘨ" in the output.

I also ensured that the fixes in #14511 and #14398 still work as intended.


This is an automatic backport of pull request #14773 done by Mergify.

The bug addressed by this PR was found while running the following
command:

```
rabbitmqctl environment --formatter=json
```

...after configuring the `rabbit` application to use `cacerts` with a
list of binaries as the value, rather than `cacertfile`.

This PR also fixes the formatting of the `tcp_listeners` and
`ssl_listeners` output, because `[5672]` is a valid list of unicode
codepoints that `unicode:characters_to_binary` will happily convert it,
resulting in `"tcp_listeners": "ᘨ"` in the output.

I also ensured that the fixes in #14511 and #14398 still work as
intended.

(cherry picked from commit 4072326)
@michaelklishin michaelklishin added this to the 4.2.0 milestone Oct 23, 2025
@michaelklishin michaelklishin merged commit 84b55df into v4.2.x Oct 23, 2025
289 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.2.x/pr-14773 branch October 23, 2025 00:39
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

Successfully merging this pull request may close these issues.

3 participants