-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OF-2883: Add fallback to older style base64 encoding for security.xml
In Openfire 4.9.0, the base64 encoder was changed. This causes a compatibility issue with security.xml files that were generated by older values, that use the 'MIME' type of decoding (with linebreaks) that's not used in later versions. While persisting data in 'security.xml', linebreaks are replaced by white space. With the changes in this commit, the decoder checks for white space, and uses the older-style type of decoding when found.
- Loading branch information
Showing
2 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters