LDAP Base DN lost on every edit

Openfire 4.0.0 (but also happened before) always adds quotes to the names in our LDAP Base DN.

Example DN we enter:

ou=Container,dc=thing,dc=example,dc=at

Example output:

ou=“Container”,dc=“thing”,dc=“example”,dc=“at”

When editing the LDAP Settings in the Admin console (Server -> Server Settings -> Profile Settings -> Edit), in the edit form, the Base DN is truncated to this:

ou=