diff --git a/index.html b/index.html
index b99bccf..00f3dc0 100644
--- a/index.html
+++ b/index.html
@@ -486,7 +486,7 @@
if (result !== null) {
resetDepth();
s3exp_config = {
- Bucket: result,
+ Bucket: htmlEscape(result),
Delimiter: '/'
};
(s3exp_lister = s3list(s3exp_config, s3draw)).go();