qxggg opened a new pull request, #15812:
URL: https://github.com/apache/dubbo/pull/15812
## What is the purpose of the change?
This change introduces support for masking sensitive parameters when
building URL strings in Dubbo.
Previously, parameters such as password, secretKey, or other user-defined
sensitive fields could be exposed in logs or configuration outputs.
The update ensures that:
1. Sensitive parameter names can be configured through
dubbo.url.sensitive-parameter-names.
2. Any parameter matching the sensitive list is automatically
excluded when the URL string is generated.
3. The behavior is covered by unit tests, ensuring consistent
functionality and preventing regressions.
## Checklist
- [x] Make sure there is a
[GitHub_issue](https://github.com/apache/dubbo/issues) field for the change.
- [x] Write a pull request description that is detailed enough to understand
what the pull request does, how, and why.
- [x] Write necessary unit-test to verify your logic correction. If the new
feature or significant change is committed, please remember to add sample in
[dubbo samples](https://github.com/apache/dubbo-samples) project.
- [x] Make sure gitHub actions can pass. [Why the workflow is failing and
how to fix it?](../CONTRIBUTING.md)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]