fix: Listing of sub-directories of S3 buckets should work
This regression was introduced by 4030d7dc2585ec7ff52f2a80d9405c8a71fc93fa. The mistake was made when "rebasing" the patch that was submitted to upstream to the version vendored in this repository. Upstream as a notion of base URL that is not present here.
Thomas Gerbet committed
Sep 12, 2025 at 11:38 UTC
78caa317a21c8ca4dfb7a72116cea300b881fab2
1 file changed
+1
-1
terraform/s3_listing.html.tpl
+1
-1
@@ -175,7 +175,7 @@
175
processedPathSegments =
176
processedPathSegments + encodeURIComponent(pathSegment) + '/';
177
var link = document.createElement('a');
178
- link.setAttribute('href', baseUrl + processedPathSegments.replace(/"/g, '"'));
178
+ link.setAttribute('href', processedPathSegments.replace(/"/g, '"'));
179
link.innerText = pathSegment;
180
return link.outerHTML;
181
});