Diff

mod_storage_s3/mod_storage_s3.lua @ 5698:17ea26cf7259

mod_storage_s3: Use '@' as placeholder for empty (host) store slots Used when the server stores things for itself.
author Kim Alvefur <zash@zash.se>
date Sat, 14 Oct 2023 22:49:57 +0200
parent 5697:51d0311747fa
child 5699:799f69a5921a
line wrap: on
line diff
--- a/mod_storage_s3/mod_storage_s3.lua	Sat Oct 14 22:49:12 2023 +0200
+++ b/mod_storage_s3/mod_storage_s3.lua	Sat Oct 14 22:49:57 2023 +0200
@@ -139,7 +139,7 @@
 		bucket;
 		jid.escape(module.host);
 		jid.escape(self.store);
-		jid.escape(key or "");
+		jid.escape(key or "@");
 	})
 end