Expand FileValidator.SAFE_EXTENSIONS for better test flexibility #161
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Tests fail when using common file extensions like '.dat' because FileValidator.SAFE_EXTENSIONS has a limited whitelist. This makes test data creation restrictive and can block legitimate use cases.
Evidence
Impact
Proposed Solution
Option A (Recommended): Make FileValidator configurable
Option B: Expand the default SAFE_EXTENSIONS list
Option C: Add test-specific override mechanism
Benefits
Files Affected
Priority
Low - Quality of life improvement for testing and development