Files
spring-boot/module
lavinhoque33 64b6c98beb Encode credentials in Docker Compose MongoDB connection string
MongoDockerComposeConnectionDetailsFactory built the connection string
by appending MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD
without encoding them. The mongo image accepts any password, but a
value containing a reserved character such as '@', ':' or '/' produced
an invalid connection string and the application failed to start.

Percent-encode the username and password, as
PropertiesMongoConnectionDetails already does. Spaces are encoded as
%20 because the MongoDB driver does not decode '+' to a space.

See gh-51939

Signed-off-by: lavinhoque33 <caspianprince33@yahoo.com>
2026-10-07 15:14:14 +02:00
..
2026-09-07 11:53:30 +01:00
2026-09-07 11:53:30 +01:00
2026-09-15 12:48:22 +01:00