diff --git a/fence/blueprints/data/indexd.py b/fence/blueprints/data/indexd.py index 253a1ad64..00bf8436d 100755 --- a/fence/blueprints/data/indexd.py +++ b/fence/blueprints/data/indexd.py @@ -186,7 +186,7 @@ def _log_signed_url_data_info(indexed_file, user_sub, requested_protocol): if bucket_protocol == protocol: # Extract bucket name - bucket = rest_of_url.split("/")[0] + bucket = f"{bucket_protocol}://{rest_of_url.split('/')[0]}" break logger.info(