We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf37e5f + 1cab28c commit e0c2aacCopy full SHA for e0c2aac
1 file changed
frontend/pages/projects/[projectid]/data-sources/connect/excel.vue
@@ -531,7 +531,8 @@ async function createDataSource(classification = null) {
531
let cacheInvalidated = false; // Track if cache has been invalidated
532
533
// Generate unique upload session ID to group all sheets together
534
- const uploadSessionId = `upload_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`;
+ const secureRandomSuffix = globalThis.crypto.getRandomValues(new Uint32Array(1))[0].toString(36).padStart(7, '0').slice(0, 7);
535
+ const uploadSessionId = `upload_${Date.now()}_${secureRandomSuffix}`;
536
console.log('[Excel Upload] Starting upload session:', uploadSessionId);
537
538
// Show initial progress
0 commit comments