Skip to content

Fix whitespace handling in CredHub application names - #3372

Open
yashdotdev13 wants to merge 1 commit into
spring-cloud:mainfrom
yashdotdev13:fix/1873-credhub-application-name-whitespace
Open

yashdotdev13 wants to merge 1 commit into
spring-cloud:mainfrom
yashdotdev13:fix/1873-credhub-application-name-whitespace

Conversation

@yashdotdev13

Copy link
Copy Markdown
Contributor

Summary

Fixes #1873 by trimming whitespace from comma-delimited application names in CredhubEnvironmentRepository.

Changes

  • Trim whitespace from application names before deduplication.
  • Add a regression test for application names containing leading/trailing whitespace.
  • Make the test helper's path normalization platform-independent.

Testing

  • CredhubEnvironmentRepositoryTests — 13 tests passed.
  • Full spring-cloud-config-server module tests passed successfully.

Signed-off-by: 98001yash <yashchauhan.gaya@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use of Config server/Credhub with a client with the propertie spring.cloud.config.name with multi names

2 participants