Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

Potential fix for code scanning alert no. 57: Use of externally-controlled format string

Marc Seitz7ac1a0aa21cc
diff --git a/ee/features/storage/config.ts b/ee/features/storage/config.ts
index 03a94ce4..f9e59eb5 100644
--- a/ee/features/storage/config.ts
+++ b/ee/features/storage/config.ts
@@ -95,7 +95,7 @@ export async function getTeamStorageConfigById(
return getStorageConfig(storageRegion);
} catch (error) {
- console.warn(`Failed to resolve storage region for team ${teamId}:`, error);
+ console.warn("Failed to resolve storage region for team %s:", teamId, error);
return getStorageConfig(); // Default to EU region on error
}
}