Clean URLs coming from AWS
Motivation
----------

Have to remove signature for successful registration replica matching:

https://github.com/rucio/rucio/blob/master/lib/rucio/common/utils.py#L668
diff --git a/lib/rucio/common/utils.py b/lib/rucio/common/utils.py
index 277871e78..5b7ed6779 100644
--- a/lib/rucio/common/utils.py
+++ b/lib/rucio/common/utils.py
@@ -670,6 +670,8 @@ def clean_surls(surls):
             surl = re.sub('/srm/managerv2\\?SFN=', '', surl)  # NOQA: W605
         if surl.startswith('https://storage.googleapis.com'):
             surl = surl.split('?GoogleAccessId')[0]
+        if '?X-Amz' in surl:
+            surl = surl.split('?X-Amz')[0]
         res.append(surl)
     res.sort()
     return res
['lib/rucio/common/utils.py']