Skip to content

Update Downloader.cs #5

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Downloader.cs #5

wants to merge 1 commit into from

Conversation

Nexxxeh
Copy link

@Nexxxeh Nexxxeh commented Mar 27, 2023

Expand Message-ID Regex to include pipes and double quotes. This was to address a bug where message IDs had a pipe char in, Downloader then failed when trying to create a file with a pipe in the name. I think the ideal approach would be similar to the "illegalChars" one or one based around encoding URL-style, but I couldn't get that to work quickly and this solved the immediate problem. Not sure if the double quote is of practical value but included for completeness.

Expand Message-ID Regex to include pipes and double quotes. This was to address an bug where message IDs had a pipe char in, Downloader then failed when trying to create a file with a pipe in the name. I think the ideal approach would be similar to the "illegalChars" one or one based around encoding URL-style, but I couldn't get that to work quickly and this solved the immediate problem. Not sure if the double quote is of practical value but included for completeness.
@Nexxxeh
Copy link
Author

Nexxxeh commented Mar 27, 2023

I very much appreciate the tool and it was extremely useful to me. Thank you! Sorry for any bad Github/code etiquette on my part, this is my first time using Github for anything other than support, text and downloads. And I'm not a C# programmer. But these changes enabled me to finish downloading the last mailbox I needed, so may come in handy for someone else.

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

Successfully merging this pull request may close these issues.

2 participants