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

Unable to process reports that contain directories #60

Open
andrewhenke opened this issue Apr 4, 2023 · 1 comment
Open

Unable to process reports that contain directories #60

andrewhenke opened this issue Apr 4, 2023 · 1 comment

Comments

@andrewhenke
Copy link

Hello! I have noticed that the process of parsing and importing the emails from the IMAP connection fails if the attachment file contains a directory within the file archive.

Is it within the development roadmap to implement functionality to process both unnested and nested report formats -- it's something that I don't have control over, of course, and I'd like to be able to include the report contents in the system.

Thank you!

@liuch
Copy link
Owner

liuch commented Apr 12, 2023

Hello! RFC 7489 does not assume directories in the report file. I introduced this restriction intentionally, partly to weed out suspicious reports, and partly so as not to unnecessarily complicate the code that parses report files.

Maybe I will make support for directories inside zip files as an option, but not anytime soon. Sorry. You can still unzip report files by your own script, put them in a server directory and then automatically process them from the directory with this tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants