From e6e16f3d3e596e11e1490ea28363a89f72e5f323 Mon Sep 17 00:00:00 2001 From: Milka Kuzminski Date: Thu, 25 Mar 2021 23:15:48 +0100 Subject: [PATCH] clone-uri: fixed the problems with key mismatch that caused errors on summary page. --- rhodecode/lib/utils2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rhodecode/lib/utils2.py b/rhodecode/lib/utils2.py index 35e64b79..b2738184 100644 --- a/rhodecode/lib/utils2.py +++ b/rhodecode/lib/utils2.py @@ -594,6 +594,9 @@ def credentials_filter(uri): :param uri: """ import urlobject + if isinstance(uri, rhodecode.lib.encrypt.InvalidDecryptedValue): + return 'InvalidDecryptionKey' + url_obj = urlobject.URLObject(cleaned_uri(uri)) url_obj = url_obj.without_password().without_username()