Skip to content

Update Downloader.cs#5

Open
Nexxxeh wants to merge 1 commit intoSecurcube:masterfrom
Nexxxeh:patch-1
Open

Update Downloader.cs#5
Nexxxeh wants to merge 1 commit intoSecurcube:masterfrom
Nexxxeh:patch-1

Conversation

@Nexxxeh
Copy link
Copy Markdown

@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
Copy Markdown
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