dhslove opened a new pull request #5593: URL: https://github.com/apache/cloudstack/pull/5593
This PR fixes an issue where the RBD storage connection fails when there are multiple '/', '+' characters in the RADOS Secret in the Add Primary Storage UI. The current code uses replace() to only change the first position where that character is found. To solve this problem, we modify the code to use a regular expression as a parameter to replace() to achieve the same result as replaceAll . ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [X] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [ ] Major - [X] Minor #### Bug Severity - [ ] BLOCKER - [ ] Critical - [X] Major - [ ] Minor - [ ] Trivial -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
