aboutsummaryrefslogtreecommitdiffstats
path: root/models/task.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/task.go')
-rw-r--r--models/task.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/task.go b/models/task.go
index a4ab65b5e5..2743d91f66 100644
--- a/models/task.go
+++ b/models/task.go
@@ -234,7 +234,7 @@ func FinishMigrateTask(task *Task) error {
}
conf.AuthPassword = ""
conf.AuthToken = ""
- conf.CloneAddr = util.SanitizeURLCredentials(conf.CloneAddr, true)
+ conf.CloneAddr = util.NewStringURLSanitizer(conf.CloneAddr, true).Replace(conf.CloneAddr)
conf.AuthPasswordEncrypted = ""
conf.AuthTokenEncrypted = ""
conf.CloneAddrEncrypted = ""