Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Commit 3348c37

Browse files
author
Alex Collins
committed
Closes #87 null safe on toString for masking passwords
1 parent e36bf9a commit 3348c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-app/domain/docker/registry/web/Registry.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Registry {
6666
", port=" + port +
6767
", apiVersion='" + apiVersion + '\'' +
6868
", username='" + username + '\'' +
69-
", password='" + password.replaceAll("(?s).", "*") + '\'' +
69+
", password='" + password?.replaceAll("(?s).", "*") + '\'' +
7070
", repositoryService=" + repositoryService +
7171
", version=" + version +
7272
'}';

0 commit comments

Comments
 (0)