Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potentially invalid filenames #15

Closed
6 of 7 tasks
cprima opened this issue Nov 14, 2024 · 0 comments
Closed
6 of 7 tasks

Fix potentially invalid filenames #15

cprima opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@cprima
Copy link
Contributor

cprima commented Nov 14, 2024

Description

The filenames for .eml and .zip files are based on the mail subject, which is prone to contain characters invalid on the filesystem.

Acceptance Criteria

  • Sanitization of the mail subject
  • testcase with exhaustive testdata

Subtasks

  • Research invalid characters
  • Implement detection of invalid characters
  • generate exhaustive testdata
  • Implement isValid and BuildFilename
  • refactor existing code to use new functionality

Related Issues / Dependencies

Priority

  • Priority: Medium

Attachments / Additional Resources

  • Attachments: none
@cprima cprima self-assigned this Nov 14, 2024
@cprima cprima added bug Something isn't working enhancement New feature or request labels Nov 14, 2024
@cprima cprima moved this to Todo in rpapub 2024-25 Nov 14, 2024
@cprima cprima moved this from Todo to In progress in rpapub 2024-25 Nov 14, 2024
@cprima cprima moved this from In progress to Done in rpapub 2024-25 Nov 14, 2024
@cprima cprima closed this as completed by moving to Done in rpapub 2024-25 Nov 14, 2024
@cprima cprima changed the title Fix broken filenames Fix potentially invalid filenames Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant